public static interface CreateTokenRequest.Builder extends LicenseManagerRequest.Builder, SdkPojo, CopyableBuilder<CreateTokenRequest.Builder,CreateTokenRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateTokenRequest.Builder |
clientToken(String clientToken)
Idempotency token, valid for 10 minutes.
|
CreateTokenRequest.Builder |
expirationInDays(Integer expirationInDays)
Token expiration, in days, counted from token creation.
|
CreateTokenRequest.Builder |
licenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
|
CreateTokenRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateTokenRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateTokenRequest.Builder |
roleArns(Collection<String> roleArns)
Amazon Resource Name (ARN) of the IAM roles to embed in the token.
|
CreateTokenRequest.Builder |
roleArns(String... roleArns)
Amazon Resource Name (ARN) of the IAM roles to embed in the token.
|
CreateTokenRequest.Builder |
tokenProperties(Collection<String> tokenProperties)
Data specified by the caller to be included in the JWT token.
|
CreateTokenRequest.Builder |
tokenProperties(String... tokenProperties)
Data specified by the caller to be included in the JWT token.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateTokenRequest.Builder licenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim of the JWT token.
licenseArn - Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim of the JWT token.CreateTokenRequest.Builder roleArns(Collection<String> roleArns)
Amazon Resource Name (ARN) of the IAM roles to embed in the token. License Manager does not check whether the roles are in use.
roleArns - Amazon Resource Name (ARN) of the IAM roles to embed in the token. License Manager does not check
whether the roles are in use.CreateTokenRequest.Builder roleArns(String... roleArns)
Amazon Resource Name (ARN) of the IAM roles to embed in the token. License Manager does not check whether the roles are in use.
roleArns - Amazon Resource Name (ARN) of the IAM roles to embed in the token. License Manager does not check
whether the roles are in use.CreateTokenRequest.Builder expirationInDays(Integer expirationInDays)
Token expiration, in days, counted from token creation. The default is 365 days.
expirationInDays - Token expiration, in days, counted from token creation. The default is 365 days.CreateTokenRequest.Builder tokenProperties(Collection<String> tokenProperties)
Data specified by the caller to be included in the JWT token. The data is mapped to the amr claim of the JWT token.
tokenProperties - Data specified by the caller to be included in the JWT token. The data is mapped to the amr claim of
the JWT token.CreateTokenRequest.Builder tokenProperties(String... tokenProperties)
Data specified by the caller to be included in the JWT token. The data is mapped to the amr claim of the JWT token.
tokenProperties - Data specified by the caller to be included in the JWT token. The data is mapped to the amr claim of
the JWT token.CreateTokenRequest.Builder clientToken(String clientToken)
Idempotency token, valid for 10 minutes.
clientToken - Idempotency token, valid for 10 minutes.CreateTokenRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateTokenRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.