Interface CreateParallelDataRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateParallelDataRequest.Builder,CreateParallelDataRequest>,SdkBuilder<CreateParallelDataRequest.Builder,CreateParallelDataRequest>,SdkPojo,SdkRequest.Builder,TranslateRequest.Builder
- Enclosing class:
- CreateParallelDataRequest
public static interface CreateParallelDataRequest.Builder extends TranslateRequest.Builder, SdkPojo, CopyableBuilder<CreateParallelDataRequest.Builder,CreateParallelDataRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateParallelDataRequest.BuilderclientToken(String clientToken)A unique identifier for the request.CreateParallelDataRequest.Builderdescription(String description)A custom description for the parallel data resource in Amazon Translate.default CreateParallelDataRequest.BuilderencryptionKey(Consumer<EncryptionKey.Builder> encryptionKey)Sets the value of the EncryptionKey property for this object.CreateParallelDataRequest.BuilderencryptionKey(EncryptionKey encryptionKey)Sets the value of the EncryptionKey property for this object.CreateParallelDataRequest.Buildername(String name)A custom name for the parallel data resource in Amazon Translate.CreateParallelDataRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateParallelDataRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateParallelDataRequest.BuilderparallelDataConfig(Consumer<ParallelDataConfig.Builder> parallelDataConfig)Specifies the format and S3 location of the parallel data input file.CreateParallelDataRequest.BuilderparallelDataConfig(ParallelDataConfig parallelDataConfig)Specifies the format and S3 location of the parallel data input file.CreateParallelDataRequest.Buildertags(Collection<Tag> tags)Tags to be associated with this resource.CreateParallelDataRequest.Buildertags(Consumer<Tag.Builder>... tags)Tags to be associated with this resource.CreateParallelDataRequest.Buildertags(Tag... tags)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 Detail
-
name
CreateParallelDataRequest.Builder name(String 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
CreateParallelDataRequest.Builder description(String 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
CreateParallelDataRequest.Builder parallelDataConfig(ParallelDataConfig 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.Builderavoiding the need to create one manually viaParallelDataConfig.builder().When the
Consumercompletes,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:
parallelDataConfig(ParallelDataConfig)
-
encryptionKey
CreateParallelDataRequest.Builder encryptionKey(EncryptionKey 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.Builderavoiding the need to create one manually viaEncryptionKey.builder().When the
Consumercompletes,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:
encryptionKey(EncryptionKey)
-
clientToken
CreateParallelDataRequest.Builder clientToken(String 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
CreateParallelDataRequest.Builder tags(Collection<Tag> 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
CreateParallelDataRequest.Builder tags(Tag... 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
CreateParallelDataRequest.Builder tags(Consumer<Tag.Builder>... 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.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
CreateParallelDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateParallelDataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-