Interface CustomJWTAuthorizerConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CustomJWTAuthorizerConfiguration.Builder,,CustomJWTAuthorizerConfiguration> SdkBuilder<CustomJWTAuthorizerConfiguration.Builder,,CustomJWTAuthorizerConfiguration> SdkPojo
- Enclosing class:
CustomJWTAuthorizerConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionallowedAudience(String... allowedAudience) The audience values accepted during JWT validation.allowedAudience(Collection<String> allowedAudience) The audience values accepted during JWT validation.allowedClients(String... allowedClients) The client identifiers accepted during JWT validation.allowedClients(Collection<String> allowedClients) The client identifiers accepted during JWT validation.allowedScopes(String... allowedScopes) The scopes accepted during JWT validation.allowedScopes(Collection<String> allowedScopes) The scopes accepted during JWT validation.customClaims(Collection<CustomClaimValidationType> customClaims) Additional custom claim validations applied to the inbound JWT.customClaims(Consumer<CustomClaimValidationType.Builder>... customClaims) Additional custom claim validations applied to the inbound JWT.customClaims(CustomClaimValidationType... customClaims) Additional custom claim validations applied to the inbound JWT.discoveryUrl(String discoveryUrl) The OpenID Connect discovery URL used to retrieve the identity provider's metadata and signing keys.privateEndpoint(Consumer<PrivateEndpoint.Builder> privateEndpoint) The private endpoint used to reach the identity provider's discovery URL over a private network path.privateEndpoint(PrivateEndpoint privateEndpoint) The private endpoint used to reach the identity provider's discovery URL over a private network path.privateEndpointOverrides(Collection<PrivateEndpointOverride> privateEndpointOverrides) Per-domain private endpoint overrides that route specific identity provider domains through distinct private endpoints.privateEndpointOverrides(Consumer<PrivateEndpointOverride.Builder>... privateEndpointOverrides) Per-domain private endpoint overrides that route specific identity provider domains through distinct private endpoints.privateEndpointOverrides(PrivateEndpointOverride... privateEndpointOverrides) Per-domain private endpoint overrides that route specific identity provider domains through distinct private endpoints.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
-
discoveryUrl
The OpenID Connect discovery URL used to retrieve the identity provider's metadata and signing keys.
- Parameters:
discoveryUrl- The OpenID Connect discovery URL used to retrieve the identity provider's metadata and signing keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedAudience
The audience values accepted during JWT validation. A token is rejected if none of its audience claims match.
- Parameters:
allowedAudience- The audience values accepted during JWT validation. A token is rejected if none of its audience claims match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedAudience
The audience values accepted during JWT validation. A token is rejected if none of its audience claims match.
- Parameters:
allowedAudience- The audience values accepted during JWT validation. A token is rejected if none of its audience claims match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedClients
The client identifiers accepted during JWT validation. A token is rejected if it was not issued to one of these clients.
- Parameters:
allowedClients- The client identifiers accepted during JWT validation. A token is rejected if it was not issued to one of these clients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedClients
The client identifiers accepted during JWT validation. A token is rejected if it was not issued to one of these clients.
- Parameters:
allowedClients- The client identifiers accepted during JWT validation. A token is rejected if it was not issued to one of these clients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedScopes
The scopes accepted during JWT validation. A token is rejected if it does not carry one of these scopes.
- Parameters:
allowedScopes- The scopes accepted during JWT validation. A token is rejected if it does not carry one of these scopes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedScopes
The scopes accepted during JWT validation. A token is rejected if it does not carry one of these scopes.
- Parameters:
allowedScopes- The scopes accepted during JWT validation. A token is rejected if it does not carry one of these scopes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customClaims
CustomJWTAuthorizerConfiguration.Builder customClaims(Collection<CustomClaimValidationType> customClaims) Additional custom claim validations applied to the inbound JWT.
- Parameters:
customClaims- Additional custom claim validations applied to the inbound JWT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customClaims
Additional custom claim validations applied to the inbound JWT.
- Parameters:
customClaims- Additional custom claim validations applied to the inbound JWT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customClaims
CustomJWTAuthorizerConfiguration.Builder customClaims(Consumer<CustomClaimValidationType.Builder>... customClaims) Additional custom claim validations applied to the inbound JWT.
This is a convenience method that creates an instance of theCustomClaimValidationType.Builderavoiding the need to create one manually viaCustomClaimValidationType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomClaims(List<CustomClaimValidationType>).- Parameters:
customClaims- a consumer that will call methods onCustomClaimValidationType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
privateEndpoint
The private endpoint used to reach the identity provider's discovery URL over a private network path.
- Parameters:
privateEndpoint- The private endpoint used to reach the identity provider's discovery URL over a private network path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpoint
default CustomJWTAuthorizerConfiguration.Builder privateEndpoint(Consumer<PrivateEndpoint.Builder> privateEndpoint) The private endpoint used to reach the identity provider's discovery URL over a private network path.
This is a convenience method that creates an instance of thePrivateEndpoint.Builderavoiding the need to create one manually viaPrivateEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprivateEndpoint(PrivateEndpoint).- Parameters:
privateEndpoint- a consumer that will call methods onPrivateEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
privateEndpointOverrides
CustomJWTAuthorizerConfiguration.Builder privateEndpointOverrides(Collection<PrivateEndpointOverride> privateEndpointOverrides) Per-domain private endpoint overrides that route specific identity provider domains through distinct private endpoints.
- Parameters:
privateEndpointOverrides- Per-domain private endpoint overrides that route specific identity provider domains through distinct private endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpointOverrides
CustomJWTAuthorizerConfiguration.Builder privateEndpointOverrides(PrivateEndpointOverride... privateEndpointOverrides) Per-domain private endpoint overrides that route specific identity provider domains through distinct private endpoints.
- Parameters:
privateEndpointOverrides- Per-domain private endpoint overrides that route specific identity provider domains through distinct private endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpointOverrides
CustomJWTAuthorizerConfiguration.Builder privateEndpointOverrides(Consumer<PrivateEndpointOverride.Builder>... privateEndpointOverrides) Per-domain private endpoint overrides that route specific identity provider domains through distinct private endpoints.
This is a convenience method that creates an instance of thePrivateEndpointOverride.Builderavoiding the need to create one manually viaPrivateEndpointOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprivateEndpointOverrides(List<PrivateEndpointOverride>).- Parameters:
privateEndpointOverrides- a consumer that will call methods onPrivateEndpointOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-