Interface UpdatedAuthorizerConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdatedAuthorizerConfiguration.Builder,,UpdatedAuthorizerConfiguration> SdkBuilder<UpdatedAuthorizerConfiguration.Builder,,UpdatedAuthorizerConfiguration> SdkPojo
- Enclosing class:
UpdatedAuthorizerConfiguration
@Mutable
@NotThreadSafe
public static interface UpdatedAuthorizerConfiguration.Builder
extends SdkPojo, CopyableBuilder<UpdatedAuthorizerConfiguration.Builder,UpdatedAuthorizerConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionoptionalValue(Consumer<AuthorizerConfiguration.Builder> optionalValue) The updated authorizer configuration value.optionalValue(AuthorizerConfiguration optionalValue) The updated authorizer configuration value.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
-
optionalValue
The updated authorizer configuration value. If not specified, it will clear the current authorizer configuration of the resource.
- Parameters:
optionalValue- The updated authorizer configuration value. If not specified, it will clear the current authorizer configuration of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionalValue
default UpdatedAuthorizerConfiguration.Builder optionalValue(Consumer<AuthorizerConfiguration.Builder> optionalValue) The updated authorizer configuration value. If not specified, it will clear the current authorizer configuration of the resource.
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 tooptionalValue(AuthorizerConfiguration).- Parameters:
optionalValue- 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:
-