Class CfnGatewayTargetPropsMixin.ToolDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnGatewayTargetPropsMixin.ToolDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayTargetPropsMixin.ToolDefinitionProperty>
- Enclosing interface:
CfnGatewayTargetPropsMixin.ToolDefinitionProperty
@Stability(Stable)
public static final class CfnGatewayTargetPropsMixin.ToolDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayTargetPropsMixin.ToolDefinitionProperty>
A builder for
CfnGatewayTargetPropsMixin.ToolDefinitionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnGatewayTargetPropsMixin.ToolDefinitionProperty.getDescription()Sets the value ofCfnGatewayTargetPropsMixin.ToolDefinitionProperty.getInputSchema()inputSchema(IResolvable inputSchema) Sets the value ofCfnGatewayTargetPropsMixin.ToolDefinitionProperty.getInputSchema()Sets the value ofCfnGatewayTargetPropsMixin.ToolDefinitionProperty.getName()Sets the value ofCfnGatewayTargetPropsMixin.ToolDefinitionProperty.getOutputSchema()outputSchema(IResolvable outputSchema) Sets the value ofCfnGatewayTargetPropsMixin.ToolDefinitionProperty.getOutputSchema()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnGatewayTargetPropsMixin.ToolDefinitionProperty.Builder description(String description) Sets the value ofCfnGatewayTargetPropsMixin.ToolDefinitionProperty.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
inputSchema
@Stability(Stable) public CfnGatewayTargetPropsMixin.ToolDefinitionProperty.Builder inputSchema(IResolvable inputSchema) Sets the value ofCfnGatewayTargetPropsMixin.ToolDefinitionProperty.getInputSchema()- Parameters:
inputSchema- The input schema for the gateway target.- Returns:
this
-
inputSchema
@Stability(Stable) public CfnGatewayTargetPropsMixin.ToolDefinitionProperty.Builder inputSchema(CfnGatewayTargetPropsMixin.SchemaDefinitionProperty inputSchema) Sets the value ofCfnGatewayTargetPropsMixin.ToolDefinitionProperty.getInputSchema()- Parameters:
inputSchema- The input schema for the gateway target.- Returns:
this
-
name
@Stability(Stable) public CfnGatewayTargetPropsMixin.ToolDefinitionProperty.Builder name(String name) Sets the value ofCfnGatewayTargetPropsMixin.ToolDefinitionProperty.getName()- Parameters:
name- The tool name.- Returns:
this
-
outputSchema
@Stability(Stable) public CfnGatewayTargetPropsMixin.ToolDefinitionProperty.Builder outputSchema(IResolvable outputSchema) Sets the value ofCfnGatewayTargetPropsMixin.ToolDefinitionProperty.getOutputSchema()- Parameters:
outputSchema- The tool definition output schema for the gateway target.- Returns:
this
-
outputSchema
@Stability(Stable) public CfnGatewayTargetPropsMixin.ToolDefinitionProperty.Builder outputSchema(CfnGatewayTargetPropsMixin.SchemaDefinitionProperty outputSchema) Sets the value ofCfnGatewayTargetPropsMixin.ToolDefinitionProperty.getOutputSchema()- Parameters:
outputSchema- The tool definition output schema for the gateway target.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayTargetPropsMixin.ToolDefinitionProperty>- Returns:
- a new instance of
CfnGatewayTargetPropsMixin.ToolDefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-