Interface CreateAccessTokenRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAccessTokenRequest.Builder,,CreateAccessTokenRequest> Route53GlobalResolverRequest.Builder,SdkBuilder<CreateAccessTokenRequest.Builder,,CreateAccessTokenRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAccessTokenRequest
@Mutable
@NotThreadSafe
public static interface CreateAccessTokenRequest.Builder
extends Route53GlobalResolverRequest.Builder, SdkPojo, CopyableBuilder<CreateAccessTokenRequest.Builder,CreateAccessTokenRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure idempotency.The ID of the DNS view to associate with this token.The date and time when the token expires.A descriptive name for the access token.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.An array of user-defined keys and optional values.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53globalresolver.model.Route53GlobalResolverRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
A unique, case-sensitive identifier to ensure idempotency. This means that making the same request multiple times with the same
clientTokenhas the same result every time.- Parameters:
clientToken- A unique, case-sensitive identifier to ensure idempotency. This means that making the same request multiple times with the sameclientTokenhas the same result every time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsViewId
The ID of the DNS view to associate with this token.
- Parameters:
dnsViewId- The ID of the DNS view to associate with this token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresAt
The date and time when the token expires. Tokens can have a minimum expiration of 30 days and maximum of 365 days from creation.
- Parameters:
expiresAt- The date and time when the token expires. Tokens can have a minimum expiration of 30 days and maximum of 365 days from creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A descriptive name for the access token.
- Parameters:
name- A descriptive name for the access token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of user-defined keys and optional values. These tags can be used for categorization and organization.
- Parameters:
tags- An array of user-defined keys and optional values. These tags can be used for categorization and organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAccessTokenRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAccessTokenRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-