public static interface StartTextTranslationJobRequest.Builder extends TranslateRequest.Builder, SdkPojo, CopyableBuilder<StartTextTranslationJobRequest.Builder,StartTextTranslationJobRequest>
| Modifier and Type | Method and Description |
|---|---|
StartTextTranslationJobRequest.Builder |
clientToken(String clientToken)
A unique identifier for the request.
|
StartTextTranslationJobRequest.Builder |
dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon
Translate read access to your input data.
|
default StartTextTranslationJobRequest.Builder |
inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
Specifies the format and S3 location of the input documents for the translation job.
|
StartTextTranslationJobRequest.Builder |
inputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and S3 location of the input documents for the translation job.
|
StartTextTranslationJobRequest.Builder |
jobName(String jobName)
The name of the batch translation job to be performed.
|
default StartTextTranslationJobRequest.Builder |
outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
Specifies the S3 folder to which your job output will be saved.
|
StartTextTranslationJobRequest.Builder |
outputDataConfig(OutputDataConfig outputDataConfig)
Specifies the S3 folder to which your job output will be saved.
|
StartTextTranslationJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartTextTranslationJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
StartTextTranslationJobRequest.Builder |
parallelDataNames(Collection<String> parallelDataNames)
The names of the parallel data resources to use in the batch translation job.
|
StartTextTranslationJobRequest.Builder |
parallelDataNames(String... parallelDataNames)
The names of the parallel data resources to use in the batch translation job.
|
StartTextTranslationJobRequest.Builder |
sourceLanguageCode(String sourceLanguageCode)
The language code of the input language.
|
StartTextTranslationJobRequest.Builder |
targetLanguageCodes(Collection<String> targetLanguageCodes)
The language code of the output language.
|
StartTextTranslationJobRequest.Builder |
targetLanguageCodes(String... targetLanguageCodes)
The language code of the output language.
|
StartTextTranslationJobRequest.Builder |
terminologyNames(Collection<String> terminologyNames)
The name of the terminology to use in the batch translation job.
|
StartTextTranslationJobRequest.Builder |
terminologyNames(String... terminologyNames)
The name of the terminology to use in the batch translation job.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartTextTranslationJobRequest.Builder jobName(String jobName)
The name of the batch translation job to be performed.
jobName - The name of the batch translation job to be performed.StartTextTranslationJobRequest.Builder inputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and S3 location of the input documents for the translation job.
inputDataConfig - Specifies the format and S3 location of the input documents for the translation job.default StartTextTranslationJobRequest.Builder inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
Specifies the format and S3 location of the input documents for the translation job.
This is a convenience that creates an instance of theInputDataConfig.Builder avoiding the need to
create one manually via InputDataConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to inputDataConfig(InputDataConfig).inputDataConfig - a consumer that will call methods on InputDataConfig.BuilderinputDataConfig(InputDataConfig)StartTextTranslationJobRequest.Builder outputDataConfig(OutputDataConfig outputDataConfig)
Specifies the S3 folder to which your job output will be saved.
outputDataConfig - Specifies the S3 folder to which your job output will be saved.default StartTextTranslationJobRequest.Builder outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
Specifies the S3 folder to which your job output will be saved.
This is a convenience that creates an instance of theOutputDataConfig.Builder avoiding the need to
create one manually via OutputDataConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to outputDataConfig(OutputDataConfig).outputDataConfig - a consumer that will call methods on OutputDataConfig.BuilderoutputDataConfig(OutputDataConfig)StartTextTranslationJobRequest.Builder dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate read access to your input data. For more nformation, see identity-and-access-management.
dataAccessRoleArn - The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon
Translate read access to your input data. For more nformation, see
identity-and-access-management.StartTextTranslationJobRequest.Builder sourceLanguageCode(String sourceLanguageCode)
The language code of the input language. For a list of language codes, see what-is-languages.
Amazon Translate does not automatically detect a source language during batch translation jobs.
sourceLanguageCode - The language code of the input language. For a list of language codes, see
what-is-languages.
Amazon Translate does not automatically detect a source language during batch translation jobs.
StartTextTranslationJobRequest.Builder targetLanguageCodes(Collection<String> targetLanguageCodes)
The language code of the output language.
targetLanguageCodes - The language code of the output language.StartTextTranslationJobRequest.Builder targetLanguageCodes(String... targetLanguageCodes)
The language code of the output language.
targetLanguageCodes - The language code of the output language.StartTextTranslationJobRequest.Builder terminologyNames(Collection<String> terminologyNames)
The name of the terminology to use in the batch translation job. For a list of available terminologies, use the ListTerminologies operation.
terminologyNames - The name of the terminology to use in the batch translation job. For a list of available
terminologies, use the ListTerminologies operation.StartTextTranslationJobRequest.Builder terminologyNames(String... terminologyNames)
The name of the terminology to use in the batch translation job. For a list of available terminologies, use the ListTerminologies operation.
terminologyNames - The name of the terminology to use in the batch translation job. For a list of available
terminologies, use the ListTerminologies operation.StartTextTranslationJobRequest.Builder parallelDataNames(Collection<String> parallelDataNames)
The names of the parallel data resources to use in the batch translation job. For a list of available parallel data resources, use the ListParallelData operation.
parallelDataNames - The names of the parallel data resources to use in the batch translation job. For a list of available
parallel data resources, use the ListParallelData operation.StartTextTranslationJobRequest.Builder parallelDataNames(String... parallelDataNames)
The names of the parallel data resources to use in the batch translation job. For a list of available parallel data resources, use the ListParallelData operation.
parallelDataNames - The names of the parallel data resources to use in the batch translation job. For a list of available
parallel data resources, use the ListParallelData operation.StartTextTranslationJobRequest.Builder clientToken(String clientToken)
A unique identifier for the request. This token is auto-generated when using the Amazon Translate SDK.
clientToken - A unique identifier for the request. This token is auto-generated when using the Amazon Translate SDK.StartTextTranslationJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStartTextTranslationJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.