Interface McpTargetConfiguration.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<McpTargetConfiguration.Builder,,- McpTargetConfiguration> - SdkBuilder<McpTargetConfiguration.Builder,,- McpTargetConfiguration> - SdkPojo
- Enclosing class:
- McpTargetConfiguration
- 
Method SummaryModifier and TypeMethodDescriptiondefault McpTargetConfiguration.BuilderThe Lambda configuration for the Model Context Protocol target.lambda(McpLambdaTargetConfiguration lambda) The Lambda configuration for the Model Context Protocol target.default McpTargetConfiguration.BuildermcpServer(Consumer<McpServerTargetConfiguration.Builder> mcpServer) The MCP server specified as the gateway target.mcpServer(McpServerTargetConfiguration mcpServer) The MCP server specified as the gateway target.default McpTargetConfiguration.BuilderopenApiSchema(Consumer<ApiSchemaConfiguration.Builder> openApiSchema) The OpenAPI schema for the Model Context Protocol target.openApiSchema(ApiSchemaConfiguration openApiSchema) The OpenAPI schema for the Model Context Protocol target.default McpTargetConfiguration.BuildersmithyModel(Consumer<ApiSchemaConfiguration.Builder> smithyModel) The Smithy model for the Model Context Protocol target.smithyModel(ApiSchemaConfiguration smithyModel) The Smithy model for the Model Context Protocol target.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
openApiSchemaThe OpenAPI schema for the Model Context Protocol target. This schema defines the API structure of the target. - Parameters:
- openApiSchema- The OpenAPI schema for the Model Context Protocol target. This schema defines the API structure of the target.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
openApiSchemadefault McpTargetConfiguration.Builder openApiSchema(Consumer<ApiSchemaConfiguration.Builder> openApiSchema) The OpenAPI schema for the Model Context Protocol target. This schema defines the API structure of the target. This is a convenience method that creates an instance of theApiSchemaConfiguration.Builderavoiding the need to create one manually viaApiSchemaConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toopenApiSchema(ApiSchemaConfiguration).- Parameters:
- openApiSchema- a consumer that will call methods on- ApiSchemaConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
smithyModelThe Smithy model for the Model Context Protocol target. This model defines the API structure of the target using the Smithy specification. - Parameters:
- smithyModel- The Smithy model for the Model Context Protocol target. This model defines the API structure of the target using the Smithy specification.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
smithyModeldefault McpTargetConfiguration.Builder smithyModel(Consumer<ApiSchemaConfiguration.Builder> smithyModel) The Smithy model for the Model Context Protocol target. This model defines the API structure of the target using the Smithy specification. This is a convenience method that creates an instance of theApiSchemaConfiguration.Builderavoiding the need to create one manually viaApiSchemaConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosmithyModel(ApiSchemaConfiguration).- Parameters:
- smithyModel- a consumer that will call methods on- ApiSchemaConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
lambdaThe Lambda configuration for the Model Context Protocol target. This configuration defines how the gateway uses a Lambda function to communicate with the target. - Parameters:
- lambda- The Lambda configuration for the Model Context Protocol target. This configuration defines how the gateway uses a Lambda function to communicate with the target.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lambdadefault McpTargetConfiguration.Builder lambda(Consumer<McpLambdaTargetConfiguration.Builder> lambda) The Lambda configuration for the Model Context Protocol target. This configuration defines how the gateway uses a Lambda function to communicate with the target. This is a convenience method that creates an instance of theMcpLambdaTargetConfiguration.Builderavoiding the need to create one manually viaMcpLambdaTargetConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolambda(McpLambdaTargetConfiguration).- Parameters:
- lambda- a consumer that will call methods on- McpLambdaTargetConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
mcpServerThe MCP server specified as the gateway target. - Parameters:
- mcpServer- The MCP server specified as the gateway target.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
mcpServerdefault McpTargetConfiguration.Builder mcpServer(Consumer<McpServerTargetConfiguration.Builder> mcpServer) The MCP server specified as the gateway target. This is a convenience method that creates an instance of theMcpServerTargetConfiguration.Builderavoiding the need to create one manually viaMcpServerTargetConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomcpServer(McpServerTargetConfiguration).- Parameters:
- mcpServer- a consumer that will call methods on- McpServerTargetConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-