Interface JWTConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JWTConfiguration.Builder,JWTConfiguration>,SdkBuilder<JWTConfiguration.Builder,JWTConfiguration>,SdkPojo
- Enclosing class:
- JWTConfiguration
public static interface JWTConfiguration.Builder extends SdkPojo, CopyableBuilder<JWTConfiguration.Builder,JWTConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JWTConfiguration.Builderaudience(String... audience)A list of the intended recipients of the JWT.JWTConfiguration.Builderaudience(Collection<String> audience)A list of the intended recipients of the JWT.JWTConfiguration.Builderissuer(String issuer)The base domain of the identity provider that issues JSON Web Tokens.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
audience
JWTConfiguration.Builder audience(Collection<String> audience)
A list of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list. See RFC 7519. Supported only for HTTP APIs.
- Parameters:
audience- A list of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list. See RFC 7519. Supported only for HTTP APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audience
JWTConfiguration.Builder audience(String... audience)
A list of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list. See RFC 7519. Supported only for HTTP APIs.
- Parameters:
audience- A list of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list. See RFC 7519. Supported only for HTTP APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuer
JWTConfiguration.Builder issuer(String issuer)
The base domain of the identity provider that issues JSON Web Tokens. For example, an Amazon Cognito user pool has the following format: https://cognito-idp.
{region} .amazonaws.com/{userPoolId} . Required for the JWT authorizer type. Supported only for HTTP APIs.- Parameters:
issuer- The base domain of the identity provider that issues JSON Web Tokens. For example, an Amazon Cognito user pool has the following format: https://cognito-idp.{region} .amazonaws.com /{userPoolId} . Required for the JWT authorizer type. Supported only for HTTP APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-