Class CfnGatewayTarget.McpLambdaTargetConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGatewayTarget.McpLambdaTargetConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayTarget.McpLambdaTargetConfigurationProperty>
- Enclosing interface:
CfnGatewayTarget.McpLambdaTargetConfigurationProperty
@Stability(Stable)
public static final class CfnGatewayTarget.McpLambdaTargetConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayTarget.McpLambdaTargetConfigurationProperty>
A builder for
CfnGatewayTarget.McpLambdaTargetConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnGatewayTarget.McpLambdaTargetConfigurationProperty.getLambdaArn()
toolSchema
(IResolvable toolSchema) Sets the value ofCfnGatewayTarget.McpLambdaTargetConfigurationProperty.getToolSchema()
toolSchema
(CfnGatewayTarget.ToolSchemaProperty toolSchema) Sets the value ofCfnGatewayTarget.McpLambdaTargetConfigurationProperty.getToolSchema()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lambdaArn
@Stability(Stable) public CfnGatewayTarget.McpLambdaTargetConfigurationProperty.Builder lambdaArn(String lambdaArn) Sets the value ofCfnGatewayTarget.McpLambdaTargetConfigurationProperty.getLambdaArn()
- Parameters:
lambdaArn
- The ARN of the Lambda target configuration. This parameter is required.- Returns:
this
-
toolSchema
@Stability(Stable) public CfnGatewayTarget.McpLambdaTargetConfigurationProperty.Builder toolSchema(IResolvable toolSchema) Sets the value ofCfnGatewayTarget.McpLambdaTargetConfigurationProperty.getToolSchema()
- Parameters:
toolSchema
- The tool schema configuration for the gateway target MCP configuration for Lambda. This parameter is required.- Returns:
this
-
toolSchema
@Stability(Stable) public CfnGatewayTarget.McpLambdaTargetConfigurationProperty.Builder toolSchema(CfnGatewayTarget.ToolSchemaProperty toolSchema) Sets the value ofCfnGatewayTarget.McpLambdaTargetConfigurationProperty.getToolSchema()
- Parameters:
toolSchema
- The tool schema configuration for the gateway target MCP configuration for Lambda. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGatewayTarget.McpLambdaTargetConfigurationProperty>
- Returns:
- a new instance of
CfnGatewayTarget.McpLambdaTargetConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-