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