Interface PutAccountConfigurationRequest.Builder
- All Superinterfaces:
AcmRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<PutAccountConfigurationRequest.Builder,,PutAccountConfigurationRequest> SdkBuilder<PutAccountConfigurationRequest.Builder,,PutAccountConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutAccountConfigurationRequest
public static interface PutAccountConfigurationRequest.Builder
extends AcmRequest.Builder, SdkPojo, CopyableBuilder<PutAccountConfigurationRequest.Builder,PutAccountConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionexpiryEvents(Consumer<ExpiryEventsConfiguration.Builder> expiryEvents) Specifies expiration events associated with an account.expiryEvents(ExpiryEventsConfiguration expiryEvents) Specifies expiration events associated with an account.idempotencyToken(String idempotencyToken) Customer-chosen string used to distinguish between calls toPutAccountConfiguration.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.services.acm.model.AcmRequest.Builder
buildMethods 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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
expiryEvents
Specifies expiration events associated with an account.
- Parameters:
expiryEvents- Specifies expiration events associated with an account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiryEvents
default PutAccountConfigurationRequest.Builder expiryEvents(Consumer<ExpiryEventsConfiguration.Builder> expiryEvents) Specifies expiration events associated with an account.
This is a convenience method that creates an instance of theExpiryEventsConfiguration.Builderavoiding the need to create one manually viaExpiryEventsConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexpiryEvents(ExpiryEventsConfiguration).- Parameters:
expiryEvents- a consumer that will call methods onExpiryEventsConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
idempotencyToken
Customer-chosen string used to distinguish between calls to
PutAccountConfiguration. Idempotency tokens time out after one hour. If you callPutAccountConfigurationmultiple times with the same unexpired idempotency token, ACM treats it as the same request and returns the original result. If you change the idempotency token for each call, ACM treats each call as a new request.- Parameters:
idempotencyToken- Customer-chosen string used to distinguish between calls toPutAccountConfiguration. Idempotency tokens time out after one hour. If you callPutAccountConfigurationmultiple times with the same unexpired idempotency token, ACM treats it as the same request and returns the original result. If you change the idempotency token for each call, ACM treats each call as a new request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutAccountConfigurationRequest.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
PutAccountConfigurationRequest.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.
-