Interface GetWebIdentityTokenResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetWebIdentityTokenResponse.Builder,GetWebIdentityTokenResponse>,SdkBuilder<GetWebIdentityTokenResponse.Builder,GetWebIdentityTokenResponse>,SdkPojo,SdkResponse.Builder,StsResponse.Builder
- Enclosing class:
- GetWebIdentityTokenResponse
@Mutable @NotThreadSafe public static interface GetWebIdentityTokenResponse.Builder extends StsResponse.Builder, SdkPojo, CopyableBuilder<GetWebIdentityTokenResponse.Builder,GetWebIdentityTokenResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetWebIdentityTokenResponse.Builderexpiration(Instant expiration)The date and time when the web identity token expires, in UTC.GetWebIdentityTokenResponse.BuilderwebIdentityToken(String webIdentityToken)A signed JSON Web Token (JWT) that represents the caller's Amazon Web Services identity.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.sts.model.StsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
webIdentityToken
GetWebIdentityTokenResponse.Builder webIdentityToken(String webIdentityToken)
A signed JSON Web Token (JWT) that represents the caller's Amazon Web Services identity. The token contains standard JWT claims such as subject, audience, expiration time, and additional identity attributes added by STS as custom claims. You can also add your own custom claims to the token by passing tags as request parameters to the
GetWebIdentityTokenAPI. The token is signed using the specified signing algorithm and can be verified using the verification keys available at the issuer's JWKS endpoint.- Parameters:
webIdentityToken- A signed JSON Web Token (JWT) that represents the caller's Amazon Web Services identity. The token contains standard JWT claims such as subject, audience, expiration time, and additional identity attributes added by STS as custom claims. You can also add your own custom claims to the token by passing tags as request parameters to theGetWebIdentityTokenAPI. The token is signed using the specified signing algorithm and can be verified using the verification keys available at the issuer's JWKS endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiration
GetWebIdentityTokenResponse.Builder expiration(Instant expiration)
The date and time when the web identity token expires, in UTC. The expiration is determined by adding the
DurationSecondsvalue to the time the token was issued. After this time, the token should no longer be considered valid.- Parameters:
expiration- The date and time when the web identity token expires, in UTC. The expiration is determined by adding theDurationSecondsvalue to the time the token was issued. After this time, the token should no longer be considered valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-