Interface MCPServerDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MCPServerDetails.Builder,,MCPServerDetails> SdkBuilder<MCPServerDetails.Builder,,MCPServerDetails> SdkPojo
- Enclosing class:
MCPServerDetails
@Mutable
@NotThreadSafe
public static interface MCPServerDetails.Builder
extends SdkPojo, CopyableBuilder<MCPServerDetails.Builder,MCPServerDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MCPServerDetails.BuilderauthorizationConfig(Consumer<MCPServerAuthorizationConfig.Builder> authorizationConfig) MCP server authorization configuration.authorizationConfig(MCPServerAuthorizationConfig authorizationConfig) MCP server authorization configuration.description(String description) Optional description for the MCP server.MCP server endpoint URL.MCP server name.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
-
name
MCP server name.
- Parameters:
name- MCP server name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
MCP server endpoint URL.
- Parameters:
endpoint- MCP server endpoint URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Optional description for the MCP server.
- Parameters:
description- Optional description for the MCP server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationConfig
MCP server authorization configuration.
- Parameters:
authorizationConfig- MCP server authorization configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationConfig
default MCPServerDetails.Builder authorizationConfig(Consumer<MCPServerAuthorizationConfig.Builder> authorizationConfig) MCP server authorization configuration.
This is a convenience method that creates an instance of theMCPServerAuthorizationConfig.Builderavoiding the need to create one manually viaMCPServerAuthorizationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthorizationConfig(MCPServerAuthorizationConfig).- Parameters:
authorizationConfig- a consumer that will call methods onMCPServerAuthorizationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-