Interface AuthorizerConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AuthorizerConfiguration.Builder,,AuthorizerConfiguration> SdkBuilder<AuthorizerConfiguration.Builder,,AuthorizerConfiguration> SdkPojo
- Enclosing class:
AuthorizerConfiguration
@Mutable
@NotThreadSafe
public static interface AuthorizerConfiguration.Builder
extends SdkPojo, CopyableBuilder<AuthorizerConfiguration.Builder,AuthorizerConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AuthorizerConfiguration.BuildercustomJWTAuthorizer(Consumer<CustomJWTAuthorizerConfiguration.Builder> customJWTAuthorizer) The inbound JWT-based authorization, specifying how incoming requests should be authenticated.customJWTAuthorizer(CustomJWTAuthorizerConfiguration customJWTAuthorizer) The inbound JWT-based authorization, specifying how incoming requests should be authenticated.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
-
customJWTAuthorizer
AuthorizerConfiguration.Builder customJWTAuthorizer(CustomJWTAuthorizerConfiguration customJWTAuthorizer) The inbound JWT-based authorization, specifying how incoming requests should be authenticated.
- Parameters:
customJWTAuthorizer- The inbound JWT-based authorization, specifying how incoming requests should be authenticated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customJWTAuthorizer
default AuthorizerConfiguration.Builder customJWTAuthorizer(Consumer<CustomJWTAuthorizerConfiguration.Builder> customJWTAuthorizer) The inbound JWT-based authorization, specifying how incoming requests should be authenticated.
This is a convenience method that creates an instance of theCustomJWTAuthorizerConfiguration.Builderavoiding the need to create one manually viaCustomJWTAuthorizerConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomJWTAuthorizer(CustomJWTAuthorizerConfiguration).- Parameters:
customJWTAuthorizer- a consumer that will call methods onCustomJWTAuthorizerConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-