Class CfnAgentPropsMixin.CustomPromptInterfaceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnAgentPropsMixin.CustomPromptInterfaceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentPropsMixin.CustomPromptInterfaceProperty>
- Enclosing interface:
CfnAgentPropsMixin.CustomPromptInterfaceProperty
@Stability(Stable)
public static final class CfnAgentPropsMixin.CustomPromptInterfaceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentPropsMixin.CustomPromptInterfaceProperty>
A builder for
CfnAgentPropsMixin.CustomPromptInterfaceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customInstructions(String customInstructions) Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getCustomInstructions()Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getIdentity()modelProfileId(String modelProfileId) Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getModelProfileId()outputStyle(String outputStyle) Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getOutputStyle()promptSummary(String promptSummary) Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getPromptSummary()qbsAwsAccountId(String qbsAwsAccountId) Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getQbsAwsAccountId()responseLength(String responseLength) Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getResponseLength()subscriptionId(String subscriptionId) Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getSubscriptionId()Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getTone()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customInstructions
@Stability(Stable) public CfnAgentPropsMixin.CustomPromptInterfaceProperty.Builder customInstructions(String customInstructions) Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getCustomInstructions()- Parameters:
customInstructions- Custom instructions for the agent behavior.- Returns:
this
-
identity
@Stability(Stable) public CfnAgentPropsMixin.CustomPromptInterfaceProperty.Builder identity(String identity) Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getIdentity()- Parameters:
identity- The identity or persona of the agent.- Returns:
this
-
modelProfileId
@Stability(Stable) public CfnAgentPropsMixin.CustomPromptInterfaceProperty.Builder modelProfileId(String modelProfileId) Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getModelProfileId()- Parameters:
modelProfileId- The identifier of the model profile.- Returns:
this
-
outputStyle
@Stability(Stable) public CfnAgentPropsMixin.CustomPromptInterfaceProperty.Builder outputStyle(String outputStyle) Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getOutputStyle()- Parameters:
outputStyle- The output style for the agent responses.- Returns:
this
-
promptSummary
@Stability(Stable) public CfnAgentPropsMixin.CustomPromptInterfaceProperty.Builder promptSummary(String promptSummary) Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getPromptSummary()- Parameters:
promptSummary- A summary of the resolved prompt.- Returns:
this
-
qbsAwsAccountId
@Stability(Stable) public CfnAgentPropsMixin.CustomPromptInterfaceProperty.Builder qbsAwsAccountId(String qbsAwsAccountId) Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getQbsAwsAccountId()- Parameters:
qbsAwsAccountId- The QBS AWS account identifier.- Returns:
this
-
responseLength
@Stability(Stable) public CfnAgentPropsMixin.CustomPromptInterfaceProperty.Builder responseLength(String responseLength) Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getResponseLength()- Parameters:
responseLength- The desired response length for the agent.- Returns:
this
-
subscriptionId
@Stability(Stable) public CfnAgentPropsMixin.CustomPromptInterfaceProperty.Builder subscriptionId(String subscriptionId) Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getSubscriptionId()- Parameters:
subscriptionId- The subscription identifier.- Returns:
this
-
tone
@Stability(Stable) public CfnAgentPropsMixin.CustomPromptInterfaceProperty.Builder tone(String tone) Sets the value ofCfnAgentPropsMixin.CustomPromptInterfaceProperty.getTone()- Parameters:
tone- The tone used in agent responses.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentPropsMixin.CustomPromptInterfaceProperty>- Returns:
- a new instance of
CfnAgentPropsMixin.CustomPromptInterfaceProperty - Throws:
NullPointerException- if any required attribute was not provided
-