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