Interface JwtConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<JwtConfiguration.Builder,,JwtConfiguration> SdkBuilder<JwtConfiguration.Builder,,JwtConfiguration> SdkPojo
- Enclosing class:
JwtConfiguration
@Mutable
@NotThreadSafe
public static interface JwtConfiguration.Builder
extends SdkPojo, CopyableBuilder<JwtConfiguration.Builder,JwtConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefaultAlgorithms(Collection<JwtSigningAlgorithm> defaultAlgorithms) The signing algorithms configured for the authorizer.defaultAlgorithms(JwtSigningAlgorithm... defaultAlgorithms) The signing algorithms configured for the authorizer.defaultAlgorithmsWithStrings(String... defaultAlgorithms) The signing algorithms configured for the authorizer.defaultAlgorithmsWithStrings(Collection<String> defaultAlgorithms) The signing algorithms configured for the authorizer.issuers(Collection<JwtIssuer> issuers) The trusted issuers configured for the authorizer.issuers(Consumer<JwtIssuer.Builder>... issuers) The trusted issuers configured for the authorizer.The trusted issuers configured for the authorizer.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
-
issuers
The trusted issuers configured for the authorizer.
- Parameters:
issuers- The trusted issuers configured for the authorizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuers
The trusted issuers configured for the authorizer.
- Parameters:
issuers- The trusted issuers configured for the authorizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuers
The trusted issuers configured for the authorizer.
This is a convenience method that creates an instance of theJwtIssuer.Builderavoiding the need to create one manually viaJwtIssuer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toissuers(List<JwtIssuer>).- Parameters:
issuers- a consumer that will call methods onJwtIssuer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultAlgorithmsWithStrings
The signing algorithms configured for the authorizer.
- Parameters:
defaultAlgorithms- The signing algorithms configured for the authorizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultAlgorithmsWithStrings
The signing algorithms configured for the authorizer.
- Parameters:
defaultAlgorithms- The signing algorithms configured for the authorizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultAlgorithms
The signing algorithms configured for the authorizer.
- Parameters:
defaultAlgorithms- The signing algorithms configured for the authorizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultAlgorithms
The signing algorithms configured for the authorizer.
- Parameters:
defaultAlgorithms- The signing algorithms configured for the authorizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-