Interface DiscoveryConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DiscoveryConfiguration.Builder,,DiscoveryConfiguration> SdkBuilder<DiscoveryConfiguration.Builder,,DiscoveryConfiguration> SdkPojo
- Enclosing class:
DiscoveryConfiguration
@Mutable
@NotThreadSafe
public static interface DiscoveryConfiguration.Builder
extends SdkPojo, CopyableBuilder<DiscoveryConfiguration.Builder,DiscoveryConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DiscoveryConfiguration.BuilderauthorizerConfiguration(Consumer<AuthorizerConfiguration.Builder> authorizerConfiguration) The authorizer configuration for the registry.authorizerConfiguration(AuthorizerConfiguration authorizerConfiguration) The authorizer configuration for the registry.authorizerType(String authorizerType) The type of authorizer that controls how consumers access the registry's search and MCP invoke operations.authorizerType(RegistryAuthorizerType authorizerType) The type of authorizer that controls how consumers access the registry's search and MCP invoke operations.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
-
authorizerConfiguration
DiscoveryConfiguration.Builder authorizerConfiguration(AuthorizerConfiguration authorizerConfiguration) The authorizer configuration for the registry. Required when authorizerType is CUSTOM_JWT.
- Parameters:
authorizerConfiguration- The authorizer configuration for the registry. Required when authorizerType is CUSTOM_JWT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizerConfiguration
default DiscoveryConfiguration.Builder authorizerConfiguration(Consumer<AuthorizerConfiguration.Builder> authorizerConfiguration) The authorizer configuration for the registry. Required when authorizerType is CUSTOM_JWT.
This is a convenience method that creates an instance of theAuthorizerConfiguration.Builderavoiding the need to create one manually viaAuthorizerConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthorizerConfiguration(AuthorizerConfiguration).- Parameters:
authorizerConfiguration- a consumer that will call methods onAuthorizerConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizerType
The type of authorizer that controls how consumers access the registry's search and MCP invoke operations.
- Parameters:
authorizerType- The type of authorizer that controls how consumers access the registry's search and MCP invoke operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizerType
The type of authorizer that controls how consumers access the registry's search and MCP invoke operations.
- Parameters:
authorizerType- The type of authorizer that controls how consumers access the registry's search and MCP invoke operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-