Interface GatewayProtocolConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GatewayProtocolConfiguration.Builder,,GatewayProtocolConfiguration> SdkBuilder<GatewayProtocolConfiguration.Builder,,GatewayProtocolConfiguration> SdkPojo
- Enclosing class:
GatewayProtocolConfiguration
@Mutable
@NotThreadSafe
public static interface GatewayProtocolConfiguration.Builder
extends SdkPojo, CopyableBuilder<GatewayProtocolConfiguration.Builder,GatewayProtocolConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe configuration for the Model Context Protocol (MCP).The configuration for the Model Context Protocol (MCP).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 configuration for the Model Context Protocol (MCP). This protocol enables communication between Amazon Bedrock Agent and external tools.
- Parameters:
mcp- The configuration for the Model Context Protocol (MCP). This protocol enables communication between Amazon Bedrock Agent and external tools.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mcp
The configuration for the Model Context Protocol (MCP). This protocol enables communication between Amazon Bedrock Agent and external tools.
This is a convenience method that creates an instance of theMCPGatewayConfiguration.Builderavoiding the need to create one manually viaMCPGatewayConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomcp(MCPGatewayConfiguration).- Parameters:
mcp- a consumer that will call methods onMCPGatewayConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-