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