Class CfnPrompt.PromptAgentResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnPrompt.PromptAgentResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrompt.PromptAgentResourceProperty>
- Enclosing interface:
CfnPrompt.PromptAgentResourceProperty
@Stability(Stable)
public static final class CfnPrompt.PromptAgentResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrompt.PromptAgentResourceProperty>
A builder for
CfnPrompt.PromptAgentResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentIdentifier(String agentIdentifier) Sets the value ofCfnPrompt.PromptAgentResourceProperty.getAgentIdentifier()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentIdentifier
@Stability(Stable) public CfnPrompt.PromptAgentResourceProperty.Builder agentIdentifier(String agentIdentifier) Sets the value ofCfnPrompt.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<CfnPrompt.PromptAgentResourceProperty>- Returns:
- a new instance of
CfnPrompt.PromptAgentResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-