Class CfnAIAgent.ToolConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnAIAgent.ToolConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAIAgent.ToolConfigurationProperty>
- Enclosing interface:
CfnAIAgent.ToolConfigurationProperty
@Stability(Stable)
public static final class CfnAIAgent.ToolConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAIAgent.ToolConfigurationProperty>
A builder for
CfnAIAgent.ToolConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotations(Object annotations) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getAnnotations()build()Builds the configured instance.description(String description) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getDescription()inputSchema(Object inputSchema) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getInputSchema()instruction(IResolvable instruction) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getInstruction()instruction(CfnAIAgent.ToolInstructionProperty instruction) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getInstruction()outputFilters(List<? extends Object> outputFilters) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getOutputFilters()outputFilters(IResolvable outputFilters) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getOutputFilters()outputSchema(Object outputSchema) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getOutputSchema()overrideInputValues(List<? extends Object> overrideInputValues) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getOverrideInputValues()overrideInputValues(IResolvable overrideInputValues) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getOverrideInputValues()Sets the value ofCfnAIAgent.ToolConfigurationProperty.getTitle()Sets the value ofCfnAIAgent.ToolConfigurationProperty.getToolId()Sets the value ofCfnAIAgent.ToolConfigurationProperty.getToolName()Sets the value ofCfnAIAgent.ToolConfigurationProperty.getToolType()userInteractionConfiguration(IResolvable userInteractionConfiguration) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getUserInteractionConfiguration()userInteractionConfiguration(CfnAIAgent.UserInteractionConfigurationProperty userInteractionConfiguration) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getUserInteractionConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
toolName
Sets the value ofCfnAIAgent.ToolConfigurationProperty.getToolName()- Parameters:
toolName- the value to be set. This parameter is required.- Returns:
this
-
toolType
Sets the value ofCfnAIAgent.ToolConfigurationProperty.getToolType()- Parameters:
toolType- the value to be set. This parameter is required.- Returns:
this
-
annotations
@Stability(Stable) public CfnAIAgent.ToolConfigurationProperty.Builder annotations(Object annotations) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getAnnotations()- Parameters:
annotations- the value to be set.- Returns:
this
-
description
@Stability(Stable) public CfnAIAgent.ToolConfigurationProperty.Builder description(String description) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
inputSchema
@Stability(Stable) public CfnAIAgent.ToolConfigurationProperty.Builder inputSchema(Object inputSchema) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getInputSchema()- Parameters:
inputSchema- the value to be set.- Returns:
this
-
instruction
@Stability(Stable) public CfnAIAgent.ToolConfigurationProperty.Builder instruction(IResolvable instruction) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getInstruction()- Parameters:
instruction- the value to be set.- Returns:
this
-
instruction
@Stability(Stable) public CfnAIAgent.ToolConfigurationProperty.Builder instruction(CfnAIAgent.ToolInstructionProperty instruction) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getInstruction()- Parameters:
instruction- the value to be set.- Returns:
this
-
outputFilters
@Stability(Stable) public CfnAIAgent.ToolConfigurationProperty.Builder outputFilters(IResolvable outputFilters) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getOutputFilters()- Parameters:
outputFilters- the value to be set.- Returns:
this
-
outputFilters
@Stability(Stable) public CfnAIAgent.ToolConfigurationProperty.Builder outputFilters(List<? extends Object> outputFilters) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getOutputFilters()- Parameters:
outputFilters- the value to be set.- Returns:
this
-
outputSchema
@Stability(Stable) public CfnAIAgent.ToolConfigurationProperty.Builder outputSchema(Object outputSchema) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getOutputSchema()- Parameters:
outputSchema- the value to be set.- Returns:
this
-
overrideInputValues
@Stability(Stable) public CfnAIAgent.ToolConfigurationProperty.Builder overrideInputValues(IResolvable overrideInputValues) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getOverrideInputValues()- Parameters:
overrideInputValues- the value to be set.- Returns:
this
-
overrideInputValues
@Stability(Stable) public CfnAIAgent.ToolConfigurationProperty.Builder overrideInputValues(List<? extends Object> overrideInputValues) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getOverrideInputValues()- Parameters:
overrideInputValues- the value to be set.- Returns:
this
-
title
Sets the value ofCfnAIAgent.ToolConfigurationProperty.getTitle()- Parameters:
title- the value to be set.- Returns:
this
-
toolId
Sets the value ofCfnAIAgent.ToolConfigurationProperty.getToolId()- Parameters:
toolId- the value to be set.- Returns:
this
-
userInteractionConfiguration
@Stability(Stable) public CfnAIAgent.ToolConfigurationProperty.Builder userInteractionConfiguration(IResolvable userInteractionConfiguration) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getUserInteractionConfiguration()- Parameters:
userInteractionConfiguration- the value to be set.- Returns:
this
-
userInteractionConfiguration
@Stability(Stable) public CfnAIAgent.ToolConfigurationProperty.Builder userInteractionConfiguration(CfnAIAgent.UserInteractionConfigurationProperty userInteractionConfiguration) Sets the value ofCfnAIAgent.ToolConfigurationProperty.getUserInteractionConfiguration()- Parameters:
userInteractionConfiguration- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAIAgent.ToolConfigurationProperty>- Returns:
- a new instance of
CfnAIAgent.ToolConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-