Class CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty>
- Enclosing interface:
CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty
@Stability(Stable)
public static final class CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiGateway(IResolvable apiGateway) build()Builds the configured instance.Sets the value ofCfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.getLambda()lambda(IResolvable lambda) Sets the value ofCfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.getLambda()Sets the value ofCfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.getMcpServer()mcpServer(IResolvable mcpServer) Sets the value ofCfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.getMcpServer()openApiSchema(IResolvable openApiSchema) smithyModel(IResolvable smithyModel)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiGateway
@Stability(Stable) public CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.Builder apiGateway(IResolvable apiGateway) - Parameters:
apiGateway- the value to be set.- Returns:
this
-
apiGateway
@Stability(Stable) public CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.Builder apiGateway(CfnGatewayTargetPropsMixin.ApiGatewayTargetConfigurationProperty apiGateway) - Parameters:
apiGateway- the value to be set.- Returns:
this
-
lambda
@Stability(Stable) public CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.Builder lambda(IResolvable lambda) Sets the value ofCfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.getLambda()- Parameters:
lambda- The Lambda MCP configuration for the gateway target.- Returns:
this
-
lambda
@Stability(Stable) public CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.Builder lambda(CfnGatewayTargetPropsMixin.McpLambdaTargetConfigurationProperty lambda) Sets the value ofCfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.getLambda()- Parameters:
lambda- The Lambda MCP configuration for the gateway target.- Returns:
this
-
mcpServer
@Stability(Stable) public CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.Builder mcpServer(IResolvable mcpServer) Sets the value ofCfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.getMcpServer()- Parameters:
mcpServer- the value to be set.- Returns:
this
-
mcpServer
@Stability(Stable) public CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.Builder mcpServer(CfnGatewayTargetPropsMixin.McpServerTargetConfigurationProperty mcpServer) Sets the value ofCfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.getMcpServer()- Parameters:
mcpServer- the value to be set.- Returns:
this
-
openApiSchema
@Stability(Stable) public CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.Builder openApiSchema(IResolvable openApiSchema) - Parameters:
openApiSchema- The OpenApi schema for the gateway target MCP configuration.- Returns:
this
-
openApiSchema
@Stability(Stable) public CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.Builder openApiSchema(CfnGatewayTargetPropsMixin.ApiSchemaConfigurationProperty openApiSchema) - Parameters:
openApiSchema- The OpenApi schema for the gateway target MCP configuration.- Returns:
this
-
smithyModel
@Stability(Stable) public CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.Builder smithyModel(IResolvable smithyModel) - Parameters:
smithyModel- The target configuration for the Smithy model target.- Returns:
this
-
smithyModel
@Stability(Stable) public CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty.Builder smithyModel(CfnGatewayTargetPropsMixin.ApiSchemaConfigurationProperty smithyModel) - Parameters:
smithyModel- The target configuration for the Smithy model target.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty>- Returns:
- a new instance of
CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-