Class AuthenticateJwtOptions.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.AuthenticateJwtOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AuthenticateJwtOptions>
- Enclosing interface:
AuthenticateJwtOptions
@Stability(Stable)
public static final class AuthenticateJwtOptions.Builder
extends Object
implements software.amazon.jsii.Builder<AuthenticateJwtOptions>
A builder for
AuthenticateJwtOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofAuthenticateJwtOptions.getIssuer()jwksEndpoint(String jwksEndpoint) Sets the value ofAuthenticateJwtOptions.getJwksEndpoint()next(ListenerAction next) Sets the value ofAuthenticateJwtOptions.getNext()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
issuer
Sets the value ofAuthenticateJwtOptions.getIssuer()- Parameters:
issuer- The issuer of the JWT token. This parameter is required. This must be a full URL, including the HTTPS protocol, the domain, and the path.- Returns:
this
-
jwksEndpoint
Sets the value ofAuthenticateJwtOptions.getJwksEndpoint()- Parameters:
jwksEndpoint- The JWKS (JSON Web Key Set) endpoint URL. This parameter is required. The endpoint must be publicly accessible and return the public keys used to verify JWT signatures.- Returns:
this
-
next
Sets the value ofAuthenticateJwtOptions.getNext()- Parameters:
next- What action to execute next. This parameter is required. Multiple actions form a linked chain; the chain must always terminate in a (weighted)forward, fixedResponse or redirect action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AuthenticateJwtOptions>- Returns:
- a new instance of
AuthenticateJwtOptions - Throws:
NullPointerException- if any required attribute was not provided
-