Interface CreateParallelDataRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateParallelDataRequest.Builder,
,CreateParallelDataRequest> SdkBuilder<CreateParallelDataRequest.Builder,
,CreateParallelDataRequest> SdkPojo
,SdkRequest.Builder
,TranslateRequest.Builder
- Enclosing class:
CreateParallelDataRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique identifier for the request.description
(String description) A custom description for the parallel data resource in Amazon Translate.encryptionKey
(Consumer<EncryptionKey.Builder> encryptionKey) Sets the value of the EncryptionKey property for this object.encryptionKey
(EncryptionKey encryptionKey) Sets the value of the EncryptionKey property for this object.A custom name for the parallel data resource in Amazon Translate.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parallelDataConfig
(Consumer<ParallelDataConfig.Builder> parallelDataConfig) Specifies the format and S3 location of the parallel data input file.parallelDataConfig
(ParallelDataConfig parallelDataConfig) Specifies the format and S3 location of the parallel data input file.tags
(Collection<Tag> tags) Tags to be associated with this resource.tags
(Consumer<Tag.Builder>... tags) Tags to be associated with this resource.Tags to be associated with this resource.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.translate.model.TranslateRequest.Builder
build
-
Method Details
-
name
A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region.
- Parameters:
name
- A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A custom description for the parallel data resource in Amazon Translate.
- Parameters:
description
- A custom description for the parallel data resource in Amazon Translate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parallelDataConfig
Specifies the format and S3 location of the parallel data input file.
- Parameters:
parallelDataConfig
- Specifies the format and S3 location of the parallel data input file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parallelDataConfig
default CreateParallelDataRequest.Builder parallelDataConfig(Consumer<ParallelDataConfig.Builder> parallelDataConfig) Specifies the format and S3 location of the parallel data input file.
This is a convenience method that creates an instance of theParallelDataConfig.Builder
avoiding the need to create one manually viaParallelDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparallelDataConfig(ParallelDataConfig)
.- Parameters:
parallelDataConfig
- a consumer that will call methods onParallelDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionKey
Sets the value of the EncryptionKey property for this object.- Parameters:
encryptionKey
- The new value for the EncryptionKey property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKey
default CreateParallelDataRequest.Builder encryptionKey(Consumer<EncryptionKey.Builder> encryptionKey) Sets the value of the EncryptionKey property for this object. This is a convenience method that creates an instance of theEncryptionKey.Builder
avoiding the need to create one manually viaEncryptionKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionKey(EncryptionKey)
.- Parameters:
encryptionKey
- a consumer that will call methods onEncryptionKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
- Parameters:
clientToken
- A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.
- Parameters:
tags
- Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.
- Parameters:
tags
- Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-
overrideConfiguration
CreateParallelDataRequest.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
CreateParallelDataRequest.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.
-