Interface UpdateDomainRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDomainRequest.Builder,
,UpdateDomainRequest> SdkBuilder<UpdateDomainRequest.Builder,
,UpdateDomainRequest> SdkPojo
,SdkRequest.Builder
,VoiceIdRequest.Builder
- Enclosing class:
UpdateDomainRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A brief description about this domain.The identifier of the domain to be updated.The name of the domain.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateDomainRequest.Builder
serverSideEncryptionConfiguration
(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration) The configuration, containing the KMS key identifier, to be used by Voice ID for the server-side encryption of your data.serverSideEncryptionConfiguration
(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration) The configuration, containing the KMS key identifier, to be used by Voice ID for the server-side encryption of your data.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.voiceid.model.VoiceIdRequest.Builder
build
-
Method Details
-
description
A brief description about this domain.
- Parameters:
description
- A brief description about this domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The identifier of the domain to be updated.
- Parameters:
domainId
- The identifier of the domain to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the domain.
- Parameters:
name
- The name of the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryptionConfiguration
UpdateDomainRequest.Builder serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration) The configuration, containing the KMS key identifier, to be used by Voice ID for the server-side encryption of your data. Changing the domain's associated KMS key immediately triggers an asynchronous process to remove dependency on the old KMS key, such that the domain's data can only be accessed using the new KMS key. The domain's
ServerSideEncryptionUpdateDetails
contains the details for this process.- Parameters:
serverSideEncryptionConfiguration
- The configuration, containing the KMS key identifier, to be used by Voice ID for the server-side encryption of your data. Changing the domain's associated KMS key immediately triggers an asynchronous process to remove dependency on the old KMS key, such that the domain's data can only be accessed using the new KMS key. The domain'sServerSideEncryptionUpdateDetails
contains the details for this process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryptionConfiguration
default UpdateDomainRequest.Builder serverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration) The configuration, containing the KMS key identifier, to be used by Voice ID for the server-side encryption of your data. Changing the domain's associated KMS key immediately triggers an asynchronous process to remove dependency on the old KMS key, such that the domain's data can only be accessed using the new KMS key. The domain's
This is a convenience method that creates an instance of theServerSideEncryptionUpdateDetails
contains the details for this process.ServerSideEncryptionConfiguration.Builder
avoiding the need to create one manually viaServerSideEncryptionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserverSideEncryptionConfiguration(ServerSideEncryptionConfiguration)
.- Parameters:
serverSideEncryptionConfiguration
- a consumer that will call methods onServerSideEncryptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-