Interface TargetConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TargetConfiguration.Builder,,TargetConfiguration> SdkBuilder<TargetConfiguration.Builder,,TargetConfiguration> SdkPojo
- Enclosing class:
TargetConfiguration
@Mutable
@NotThreadSafe
public static interface TargetConfiguration.Builder
extends SdkPojo, CopyableBuilder<TargetConfiguration.Builder,TargetConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TargetConfiguration.BuilderThe Model Context Protocol (MCP) configuration for the target.The Model Context Protocol (MCP) configuration for the target.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
mcp
The Model Context Protocol (MCP) configuration for the target. This configuration defines how the gateway uses MCP to communicate with the target.
- Parameters:
mcp- The Model Context Protocol (MCP) configuration for the target. This configuration defines how the gateway uses MCP to communicate with the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mcp
The Model Context Protocol (MCP) configuration for the target. This configuration defines how the gateway uses MCP to communicate with the target.
This is a convenience method that creates an instance of theMcpTargetConfiguration.Builderavoiding the need to create one manually viaMcpTargetConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomcp(McpTargetConfiguration).- Parameters:
mcp- a consumer that will call methods onMcpTargetConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-