Interface MCPServerAuthorizationConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MCPServerAuthorizationConfig.Builder,,MCPServerAuthorizationConfig> SdkBuilder<MCPServerAuthorizationConfig.Builder,,MCPServerAuthorizationConfig> SdkPojo
- Enclosing class:
MCPServerAuthorizationConfig
-
Method Summary
Modifier and TypeMethodDescriptionapiKey(Consumer<MCPServerAPIKeyConfig.Builder> apiKey) MCP server configuration with API key authentication.apiKey(MCPServerAPIKeyConfig apiKey) MCP server configuration with API key authentication.authorizationDiscovery(Consumer<MCPServerAuthorizationDiscoveryConfig.Builder> authorizationDiscovery) MCP server authorization discovery configuration.authorizationDiscovery(MCPServerAuthorizationDiscoveryConfig authorizationDiscovery) MCP server authorization discovery configuration.bearerToken(Consumer<MCPServerBearerTokenConfig.Builder> bearerToken) MCP server configuration with Bearer token (RFC 6750).bearerToken(MCPServerBearerTokenConfig bearerToken) MCP server configuration with Bearer token (RFC 6750).oAuth3LO(Consumer<MCPServerOAuth3LOConfig.Builder> oAuth3LO) MCP server configuration with OAuth 3LO.oAuth3LO(MCPServerOAuth3LOConfig oAuth3LO) MCP server configuration with OAuth 3LO.oAuthClientCredentials(Consumer<MCPServerOAuthClientCredentialsConfig.Builder> oAuthClientCredentials) MCP server configuration with OAuth client credentials.oAuthClientCredentials(MCPServerOAuthClientCredentialsConfig oAuthClientCredentials) MCP server configuration with OAuth client credentials.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
-
oAuthClientCredentials
MCPServerAuthorizationConfig.Builder oAuthClientCredentials(MCPServerOAuthClientCredentialsConfig oAuthClientCredentials) MCP server configuration with OAuth client credentials.
- Parameters:
oAuthClientCredentials- MCP server configuration with OAuth client credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthClientCredentials
default MCPServerAuthorizationConfig.Builder oAuthClientCredentials(Consumer<MCPServerOAuthClientCredentialsConfig.Builder> oAuthClientCredentials) MCP server configuration with OAuth client credentials.
This is a convenience method that creates an instance of theMCPServerOAuthClientCredentialsConfig.Builderavoiding the need to create one manually viaMCPServerOAuthClientCredentialsConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooAuthClientCredentials(MCPServerOAuthClientCredentialsConfig).- Parameters:
oAuthClientCredentials- a consumer that will call methods onMCPServerOAuthClientCredentialsConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuth3LO
MCP server configuration with OAuth 3LO.
- Parameters:
oAuth3LO- MCP server configuration with OAuth 3LO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth3LO
default MCPServerAuthorizationConfig.Builder oAuth3LO(Consumer<MCPServerOAuth3LOConfig.Builder> oAuth3LO) MCP server configuration with OAuth 3LO.
This is a convenience method that creates an instance of theMCPServerOAuth3LOConfig.Builderavoiding the need to create one manually viaMCPServerOAuth3LOConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooAuth3LO(MCPServerOAuth3LOConfig).- Parameters:
oAuth3LO- a consumer that will call methods onMCPServerOAuth3LOConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiKey
MCP server configuration with API key authentication.
- Parameters:
apiKey- MCP server configuration with API key authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKey
MCP server configuration with API key authentication.
This is a convenience method that creates an instance of theMCPServerAPIKeyConfig.Builderavoiding the need to create one manually viaMCPServerAPIKeyConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapiKey(MCPServerAPIKeyConfig).- Parameters:
apiKey- a consumer that will call methods onMCPServerAPIKeyConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bearerToken
MCP server configuration with Bearer token (RFC 6750).
- Parameters:
bearerToken- MCP server configuration with Bearer token (RFC 6750).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bearerToken
default MCPServerAuthorizationConfig.Builder bearerToken(Consumer<MCPServerBearerTokenConfig.Builder> bearerToken) MCP server configuration with Bearer token (RFC 6750).
This is a convenience method that creates an instance of theMCPServerBearerTokenConfig.Builderavoiding the need to create one manually viaMCPServerBearerTokenConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobearerToken(MCPServerBearerTokenConfig).- Parameters:
bearerToken- a consumer that will call methods onMCPServerBearerTokenConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizationDiscovery
MCPServerAuthorizationConfig.Builder authorizationDiscovery(MCPServerAuthorizationDiscoveryConfig authorizationDiscovery) MCP server authorization discovery configuration.
- Parameters:
authorizationDiscovery- MCP server authorization discovery configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationDiscovery
default MCPServerAuthorizationConfig.Builder authorizationDiscovery(Consumer<MCPServerAuthorizationDiscoveryConfig.Builder> authorizationDiscovery) MCP server authorization discovery configuration.
This is a convenience method that creates an instance of theMCPServerAuthorizationDiscoveryConfig.Builderavoiding the need to create one manually viaMCPServerAuthorizationDiscoveryConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthorizationDiscovery(MCPServerAuthorizationDiscoveryConfig).- Parameters:
authorizationDiscovery- a consumer that will call methods onMCPServerAuthorizationDiscoveryConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-