Class CfnAgentPropsMixin.CustomPromptInputProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnAgentPropsMixin.CustomPromptInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentPropsMixin.CustomPromptInputProperty>
- Enclosing interface:
CfnAgentPropsMixin.CustomPromptInputProperty
@Stability(Stable)
public static final class CfnAgentPropsMixin.CustomPromptInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentPropsMixin.CustomPromptInputProperty>
A builder for
CfnAgentPropsMixin.CustomPromptInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.existingPrompt(CfnAgentPropsMixin.CustomPromptProfileProperty existingPrompt) Sets the value ofCfnAgentPropsMixin.CustomPromptInputProperty.getExistingPrompt()existingPrompt(IResolvable existingPrompt) Sets the value ofCfnAgentPropsMixin.CustomPromptInputProperty.getExistingPrompt()Sets the value ofCfnAgentPropsMixin.CustomPromptInputProperty.getNewPrompt()newPrompt(IResolvable newPrompt) Sets the value ofCfnAgentPropsMixin.CustomPromptInputProperty.getNewPrompt()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
existingPrompt
@Stability(Stable) public CfnAgentPropsMixin.CustomPromptInputProperty.Builder existingPrompt(IResolvable existingPrompt) Sets the value ofCfnAgentPropsMixin.CustomPromptInputProperty.getExistingPrompt()- Parameters:
existingPrompt- Reference to an existing custom prompt profile.- Returns:
this
-
existingPrompt
@Stability(Stable) public CfnAgentPropsMixin.CustomPromptInputProperty.Builder existingPrompt(CfnAgentPropsMixin.CustomPromptProfileProperty existingPrompt) Sets the value ofCfnAgentPropsMixin.CustomPromptInputProperty.getExistingPrompt()- Parameters:
existingPrompt- Reference to an existing custom prompt profile.- Returns:
this
-
newPrompt
@Stability(Stable) public CfnAgentPropsMixin.CustomPromptInputProperty.Builder newPrompt(IResolvable newPrompt) Sets the value ofCfnAgentPropsMixin.CustomPromptInputProperty.getNewPrompt()- Parameters:
newPrompt- Parameters for creating a new custom prompt configuration.- Returns:
this
-
newPrompt
@Stability(Stable) public CfnAgentPropsMixin.CustomPromptInputProperty.Builder newPrompt(CfnAgentPropsMixin.CustomPromptInputParametersProperty newPrompt) Sets the value ofCfnAgentPropsMixin.CustomPromptInputProperty.getNewPrompt()- Parameters:
newPrompt- Parameters for creating a new custom prompt configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentPropsMixin.CustomPromptInputProperty>- Returns:
- a new instance of
CfnAgentPropsMixin.CustomPromptInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-