public static interface TextTranslationJobProperties.Builder extends SdkPojo, CopyableBuilder<TextTranslationJobProperties.Builder,TextTranslationJobProperties>
| Modifier and Type | Method and Description |
|---|---|
TextTranslationJobProperties.Builder |
dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that granted Amazon
Translate read access to the job's input data.
|
TextTranslationJobProperties.Builder |
endTime(Instant endTime)
The time at which the translation job ended.
|
default TextTranslationJobProperties.Builder |
inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
The input configuration properties that were specified when the job was requested.
|
TextTranslationJobProperties.Builder |
inputDataConfig(InputDataConfig inputDataConfig)
The input configuration properties that were specified when the job was requested.
|
default TextTranslationJobProperties.Builder |
jobDetails(Consumer<JobDetails.Builder> jobDetails)
The number of documents successfully and unsuccessfully processed during the translation job.
|
TextTranslationJobProperties.Builder |
jobDetails(JobDetails jobDetails)
The number of documents successfully and unsuccessfully processed during the translation job.
|
TextTranslationJobProperties.Builder |
jobId(String jobId)
The ID of the translation job.
|
TextTranslationJobProperties.Builder |
jobName(String jobName)
The user-defined name of the translation job.
|
TextTranslationJobProperties.Builder |
jobStatus(JobStatus jobStatus)
The status of the translation job.
|
TextTranslationJobProperties.Builder |
jobStatus(String jobStatus)
The status of the translation job.
|
TextTranslationJobProperties.Builder |
message(String message)
An explanation of any errors that may have occured during the translation job.
|
default TextTranslationJobProperties.Builder |
outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
The output configuration properties that were specified when the job was requested.
|
TextTranslationJobProperties.Builder |
outputDataConfig(OutputDataConfig outputDataConfig)
The output configuration properties that were specified when the job was requested.
|
TextTranslationJobProperties.Builder |
sourceLanguageCode(String sourceLanguageCode)
The language code of the language of the source text.
|
TextTranslationJobProperties.Builder |
submittedTime(Instant submittedTime)
The time at which the translation job was submitted.
|
TextTranslationJobProperties.Builder |
targetLanguageCodes(Collection<String> targetLanguageCodes)
The language code of the language of the target text.
|
TextTranslationJobProperties.Builder |
targetLanguageCodes(String... targetLanguageCodes)
The language code of the language of the target text.
|
TextTranslationJobProperties.Builder |
terminologyNames(Collection<String> terminologyNames)
A list containing the names of the terminologies applied to a translation job.
|
TextTranslationJobProperties.Builder |
terminologyNames(String... terminologyNames)
A list containing the names of the terminologies applied to a translation job.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTextTranslationJobProperties.Builder jobId(String jobId)
The ID of the translation job.
jobId - The ID of the translation job.TextTranslationJobProperties.Builder jobName(String jobName)
The user-defined name of the translation job.
jobName - The user-defined name of the translation job.TextTranslationJobProperties.Builder jobStatus(String jobStatus)
The status of the translation job.
TextTranslationJobProperties.Builder jobStatus(JobStatus jobStatus)
The status of the translation job.
TextTranslationJobProperties.Builder jobDetails(JobDetails jobDetails)
The number of documents successfully and unsuccessfully processed during the translation job.
jobDetails - The number of documents successfully and unsuccessfully processed during the translation job.default TextTranslationJobProperties.Builder jobDetails(Consumer<JobDetails.Builder> jobDetails)
The number of documents successfully and unsuccessfully processed during the translation job.
This is a convenience that creates an instance of theJobDetails.Builder avoiding the need to create
one manually via JobDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to jobDetails(JobDetails).jobDetails - a consumer that will call methods on JobDetails.BuilderjobDetails(JobDetails)TextTranslationJobProperties.Builder sourceLanguageCode(String sourceLanguageCode)
The language code of the language of the source text. The language must be a language supported by Amazon Translate.
sourceLanguageCode - The language code of the language of the source text. The language must be a language supported by
Amazon Translate.TextTranslationJobProperties.Builder targetLanguageCodes(Collection<String> targetLanguageCodes)
The language code of the language of the target text. The language must be a language supported by Amazon Translate.
targetLanguageCodes - The language code of the language of the target text. The language must be a language supported by
Amazon Translate.TextTranslationJobProperties.Builder targetLanguageCodes(String... targetLanguageCodes)
The language code of the language of the target text. The language must be a language supported by Amazon Translate.
targetLanguageCodes - The language code of the language of the target text. The language must be a language supported by
Amazon Translate.TextTranslationJobProperties.Builder terminologyNames(Collection<String> terminologyNames)
A list containing the names of the terminologies applied to a translation job. Only one terminology can be applied per StartTextTranslationJob request at this time.
terminologyNames - A list containing the names of the terminologies applied to a translation job. Only one terminology
can be applied per StartTextTranslationJob request at this time.TextTranslationJobProperties.Builder terminologyNames(String... terminologyNames)
A list containing the names of the terminologies applied to a translation job. Only one terminology can be applied per StartTextTranslationJob request at this time.
terminologyNames - A list containing the names of the terminologies applied to a translation job. Only one terminology
can be applied per StartTextTranslationJob request at this time.TextTranslationJobProperties.Builder message(String message)
An explanation of any errors that may have occured during the translation job.
message - An explanation of any errors that may have occured during the translation job.TextTranslationJobProperties.Builder submittedTime(Instant submittedTime)
The time at which the translation job was submitted.
submittedTime - The time at which the translation job was submitted.TextTranslationJobProperties.Builder endTime(Instant endTime)
The time at which the translation job ended.
endTime - The time at which the translation job ended.TextTranslationJobProperties.Builder inputDataConfig(InputDataConfig inputDataConfig)
The input configuration properties that were specified when the job was requested.
inputDataConfig - The input configuration properties that were specified when the job was requested.default TextTranslationJobProperties.Builder inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
The input configuration properties that were specified when the job was requested.
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)TextTranslationJobProperties.Builder outputDataConfig(OutputDataConfig outputDataConfig)
The output configuration properties that were specified when the job was requested.
outputDataConfig - The output configuration properties that were specified when the job was requested.default TextTranslationJobProperties.Builder outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
The output configuration properties that were specified when the job was requested.
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)TextTranslationJobProperties.Builder dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that granted Amazon Translate read access to the job's input data.
dataAccessRoleArn - The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that granted Amazon
Translate read access to the job's input data.Copyright © 2020. All rights reserved.