Interface CreateDomainRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDomainRequest.Builder,CreateDomainRequest>,SdkBuilder<CreateDomainRequest.Builder,CreateDomainRequest>,SdkPojo,SdkRequest.Builder,VoiceIdRequest.Builder
- Enclosing class:
- CreateDomainRequest
public static interface CreateDomainRequest.Builder extends VoiceIdRequest.Builder, SdkPojo, CopyableBuilder<CreateDomainRequest.Builder,CreateDomainRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateDomainRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.CreateDomainRequest.Builderdescription(String description)A brief description of this domain.CreateDomainRequest.Buildername(String name)The name of the domain.CreateDomainRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDomainRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateDomainRequest.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.CreateDomainRequest.BuilderserverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)The configuration, containing the KMS key identifier, to be used by Voice ID for the server-side encryption of your data.CreateDomainRequest.Buildertags(Collection<Tag> tags)A list of tags you want added to the domain.CreateDomainRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of tags you want added to the domain.CreateDomainRequest.Buildertags(Tag... tags)A list of tags you want added to the domain.-
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 Detail
-
clientToken
CreateDomainRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateDomainRequest.Builder description(String description)
A brief description of this domain.
- Parameters:
description- A brief description of this domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateDomainRequest.Builder name(String 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
CreateDomainRequest.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. Refer to Amazon Connect Voice ID encryption at rest for more details on how the KMS key is used.
- Parameters:
serverSideEncryptionConfiguration- The configuration, containing the KMS key identifier, to be used by Voice ID for the server-side encryption of your data. Refer to Amazon Connect Voice ID encryption at rest for more details on how the KMS key is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryptionConfiguration
default CreateDomainRequest.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. Refer to Amazon Connect Voice ID encryption at rest for more details on how the KMS key is used.
This is a convenience method that creates an instance of theServerSideEncryptionConfiguration.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:
serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration)
-
tags
CreateDomainRequest.Builder tags(Collection<Tag> tags)
A list of tags you want added to the domain.
- Parameters:
tags- A list of tags you want added to the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDomainRequest.Builder tags(Tag... tags)
A list of tags you want added to the domain.
- Parameters:
tags- A list of tags you want added to the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDomainRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags you want added to the domain.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-