Class CfnAIAgentPropsMixin.ToolInstructionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnAIAgentPropsMixin.ToolInstructionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAIAgentPropsMixin.ToolInstructionProperty>
- Enclosing interface:
CfnAIAgentPropsMixin.ToolInstructionProperty
@Stability(Stable)
public static final class CfnAIAgentPropsMixin.ToolInstructionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAIAgentPropsMixin.ToolInstructionProperty>
A builder for
CfnAIAgentPropsMixin.ToolInstructionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAIAgentPropsMixin.ToolInstructionProperty.getExamples()instruction(String instruction) Sets the value ofCfnAIAgentPropsMixin.ToolInstructionProperty.getInstruction()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
examples
@Stability(Stable) public CfnAIAgentPropsMixin.ToolInstructionProperty.Builder examples(List<String> examples) Sets the value ofCfnAIAgentPropsMixin.ToolInstructionProperty.getExamples()- Parameters:
examples- the value to be set.- Returns:
this
-
instruction
@Stability(Stable) public CfnAIAgentPropsMixin.ToolInstructionProperty.Builder instruction(String instruction) Sets the value ofCfnAIAgentPropsMixin.ToolInstructionProperty.getInstruction()- Parameters:
instruction- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAIAgentPropsMixin.ToolInstructionProperty>- Returns:
- a new instance of
CfnAIAgentPropsMixin.ToolInstructionProperty - Throws:
NullPointerException- if any required attribute was not provided
-