Interface TextTranslationJobProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TextTranslationJobProperties.Builder,
,TextTranslationJobProperties> SdkBuilder<TextTranslationJobProperties.Builder,
,TextTranslationJobProperties> SdkPojo
- Enclosing class:
TextTranslationJobProperties
-
Method Summary
Modifier and TypeMethodDescriptiondataAccessRoleArn
(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.The time at which the translation job ended.inputDataConfig
(Consumer<InputDataConfig.Builder> inputDataConfig) The input configuration properties that were specified when the job was requested.inputDataConfig
(InputDataConfig inputDataConfig) The input configuration properties that were specified when the job was requested.jobDetails
(Consumer<JobDetails.Builder> jobDetails) The number of documents successfully and unsuccessfully processed during the translation job.jobDetails
(JobDetails jobDetails) The number of documents successfully and unsuccessfully processed during the translation job.The ID of the translation job.The user-defined name of the translation job.The status of the translation job.The status of the translation job.An explanation of any errors that may have occurred during the translation job.outputDataConfig
(Consumer<OutputDataConfig.Builder> outputDataConfig) The output configuration properties that were specified when the job was requested.outputDataConfig
(OutputDataConfig outputDataConfig) The output configuration properties that were specified when the job was requested.parallelDataNames
(String... parallelDataNames) A list containing the names of the parallel data resources applied to the translation job.parallelDataNames
(Collection<String> parallelDataNames) A list containing the names of the parallel data resources applied to the translation job.settings
(Consumer<TranslationSettings.Builder> settings) Settings that modify the translation output.settings
(TranslationSettings settings) Settings that modify the translation output.sourceLanguageCode
(String sourceLanguageCode) The language code of the language of the source text.submittedTime
(Instant submittedTime) The time at which the translation job was submitted.targetLanguageCodes
(String... targetLanguageCodes) The language code of the language of the target text.targetLanguageCodes
(Collection<String> targetLanguageCodes) The language code of the language of the target text.terminologyNames
(String... terminologyNames) A list containing the names of the terminologies applied to a translation job.terminologyNames
(Collection<String> terminologyNames) A list containing the names of the terminologies applied to a translation job.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
-
Method Details
-
jobId
The ID of the translation job.
- Parameters:
jobId
- The ID of the translation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobName
The user-defined name of the translation job.
- Parameters:
jobName
- The user-defined name of the translation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobStatus
The status of the translation job.
- Parameters:
jobStatus
- The status of the translation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobStatus
The status of the translation job.
- Parameters:
jobStatus
- The status of the translation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobDetails
The number of documents successfully and unsuccessfully processed during the translation job.
- Parameters:
jobDetails
- The number of documents successfully and unsuccessfully processed during the translation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobDetails
The number of documents successfully and unsuccessfully processed during the translation job.
This is a convenience method that creates an instance of theJobDetails.Builder
avoiding the need to create one manually viaJobDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobDetails(JobDetails)
.- Parameters:
jobDetails
- a consumer that will call methods onJobDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceLanguageCode
The language code of the language of the source text. The language must be a language supported by Amazon Translate.
- Parameters:
sourceLanguageCode
- The language code of the language of the source text. The language must be a language supported by Amazon Translate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetLanguageCodes
The language code of the language of the target text. The language must be a language supported by Amazon Translate.
- Parameters:
targetLanguageCodes
- The language code of the language of the target text. The language must be a language supported by Amazon Translate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetLanguageCodes
The language code of the language of the target text. The language must be a language supported by Amazon Translate.
- Parameters:
targetLanguageCodes
- The language code of the language of the target text. The language must be a language supported by Amazon Translate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parallelDataNames
A list containing the names of the parallel data resources applied to the translation job.
- Parameters:
parallelDataNames
- A list containing the names of the parallel data resources applied to the translation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parallelDataNames
A list containing the names of the parallel data resources applied to the translation job.
- Parameters:
parallelDataNames
- A list containing the names of the parallel data resources applied to the translation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
An explanation of any errors that may have occurred during the translation job.
- Parameters:
message
- An explanation of any errors that may have occurred during the translation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
submittedTime
The time at which the translation job was submitted.
- Parameters:
submittedTime
- The time at which the translation job was submitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time at which the translation job ended.
- Parameters:
endTime
- The time at which the translation job ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
The input configuration properties that were specified when the job was requested.
- Parameters:
inputDataConfig
- The input configuration properties that were specified when the job was requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
default TextTranslationJobProperties.Builder inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig) The input configuration properties that were specified when the job was requested.
This is a convenience method that creates an instance of theInputDataConfig.Builder
avoiding the need to create one manually viaInputDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputDataConfig(InputDataConfig)
.- Parameters:
inputDataConfig
- a consumer that will call methods onInputDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputDataConfig
The output configuration properties that were specified when the job was requested.
- Parameters:
outputDataConfig
- The output configuration properties that were specified when the job was requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDataConfig
default TextTranslationJobProperties.Builder outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig) The output configuration properties that were specified when the job was requested.
This is a convenience method that creates an instance of theOutputDataConfig.Builder
avoiding the need to create one manually viaOutputDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputDataConfig(OutputDataConfig)
.- Parameters:
outputDataConfig
- a consumer that will call methods onOutputDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
Settings that modify the translation output.
- Parameters:
settings
- Settings that modify the translation output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
default TextTranslationJobProperties.Builder settings(Consumer<TranslationSettings.Builder> settings) Settings that modify the translation output.
This is a convenience method that creates an instance of theTranslationSettings.Builder
avoiding the need to create one manually viaTranslationSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosettings(TranslationSettings)
.- Parameters:
settings
- a consumer that will call methods onTranslationSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-