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.BuilderserverSideEncryptionConfiguration(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
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, sdkFieldsMethods 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
ServerSideEncryptionUpdateDetailscontains 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'sServerSideEncryptionUpdateDetailscontains 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 theServerSideEncryptionUpdateDetailscontains the details for this process.ServerSideEncryptionConfiguration.Builderavoiding the need to create one manually viaServerSideEncryptionConfiguration.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-