Interface JwtIssuerInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<JwtIssuerInput.Builder,,JwtIssuerInput> SdkBuilder<JwtIssuerInput.Builder,,JwtIssuerInput> SdkPojo
- Enclosing class:
JwtIssuerInput
-
Method Summary
Modifier and TypeMethodDescriptionadditionalClaims(Collection<JwtAdditionalClaim> additionalClaims) The additional claim rules for this issuer.additionalClaims(Consumer<JwtAdditionalClaim.Builder>... additionalClaims) The additional claim rules for this issuer.additionalClaims(JwtAdditionalClaim... additionalClaims) The additional claim rules for this issuer.The audiences that the issuer can issue tokens for.audiences(Collection<String> audiences) The audiences that the issuer can issue tokens for.The OpenID Connect (OIDC) issuer URL.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
-
issuer
The OpenID Connect (OIDC) issuer URL. The value must be an absolute
httpsURL that includes a host and has no user information, query, or fragment. It must exactly match theissclaim of the token, and the issuer's OIDC discovery document must name this exact issuer.- Parameters:
issuer- The OpenID Connect (OIDC) issuer URL. The value must be an absolutehttpsURL that includes a host and has no user information, query, or fragment. It must exactly match theissclaim of the token, and the issuer's OIDC discovery document must name this exact issuer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audiences
The audiences that the issuer can issue tokens for. None can be empty. The token's
audclaim must contain at least one of these values.- Parameters:
audiences- The audiences that the issuer can issue tokens for. None can be empty. The token'saudclaim must contain at least one of these values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audiences
The audiences that the issuer can issue tokens for. None can be empty. The token's
audclaim must contain at least one of these values.- Parameters:
audiences- The audiences that the issuer can issue tokens for. None can be empty. The token'saudclaim must contain at least one of these values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalClaims
The additional claim rules for this issuer. Claim names must be unique within the issuer.
- Parameters:
additionalClaims- The additional claim rules for this issuer. Claim names must be unique within the issuer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalClaims
The additional claim rules for this issuer. Claim names must be unique within the issuer.
- Parameters:
additionalClaims- The additional claim rules for this issuer. Claim names must be unique within the issuer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalClaims
The additional claim rules for this issuer. Claim names must be unique within the issuer.
This is a convenience method that creates an instance of theJwtAdditionalClaim.Builderavoiding the need to create one manually viaJwtAdditionalClaim.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadditionalClaims(List<JwtAdditionalClaim>).- Parameters:
additionalClaims- a consumer that will call methods onJwtAdditionalClaim.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-