Interface UpdateParallelDataRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateParallelDataRequest.Builder,,UpdateParallelDataRequest> SdkBuilder<UpdateParallelDataRequest.Builder,,UpdateParallelDataRequest> SdkPojo,SdkRequest.Builder,TranslateRequest.Builder
- Enclosing class:
UpdateParallelDataRequest
public static interface UpdateParallelDataRequest.Builder
extends TranslateRequest.Builder, SdkPojo, CopyableBuilder<UpdateParallelDataRequest.Builder,UpdateParallelDataRequest>
-
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.The name of the parallel data resource being updated.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.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.translate.model.TranslateRequest.Builder
build
-
Method Details
-
name
The name of the parallel data resource being updated.
- Parameters:
name- The name of the parallel data resource being updated.- 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 UpdateParallelDataRequest.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:
-
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.
-
overrideConfiguration
UpdateParallelDataRequest.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
UpdateParallelDataRequest.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.
-