Class CfnPromptVersion.PromptAgentResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnPromptVersion.PromptAgentResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPromptVersion.PromptAgentResourceProperty>
- Enclosing interface:
CfnPromptVersion.PromptAgentResourceProperty
@Stability(Stable)
public static final class CfnPromptVersion.PromptAgentResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPromptVersion.PromptAgentResourceProperty>
A builder for
CfnPromptVersion.PromptAgentResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentIdentifier(String agentIdentifier) Sets the value ofCfnPromptVersion.PromptAgentResourceProperty.getAgentIdentifier()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentIdentifier
@Stability(Stable) public CfnPromptVersion.PromptAgentResourceProperty.Builder agentIdentifier(String agentIdentifier) Sets the value ofCfnPromptVersion.PromptAgentResourceProperty.getAgentIdentifier()- Parameters:
agentIdentifier- The ARN of the agent with which to use the prompt. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPromptVersion.PromptAgentResourceProperty>- Returns:
- a new instance of
CfnPromptVersion.PromptAgentResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-