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