Interface TextTranslationJobProperties.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TextTranslationJobProperties.Builder,TextTranslationJobProperties>,SdkBuilder<TextTranslationJobProperties.Builder,TextTranslationJobProperties>,SdkPojo
- Enclosing class:
- TextTranslationJobProperties
public static interface TextTranslationJobProperties.Builder extends SdkPojo, CopyableBuilder<TextTranslationJobProperties.Builder,TextTranslationJobProperties>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TextTranslationJobProperties.BuilderdataAccessRoleArn(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.BuilderendTime(Instant endTime)The time at which the translation job ended.default TextTranslationJobProperties.BuilderinputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)The input configuration properties that were specified when the job was requested.TextTranslationJobProperties.BuilderinputDataConfig(InputDataConfig inputDataConfig)The input configuration properties that were specified when the job was requested.default TextTranslationJobProperties.BuilderjobDetails(Consumer<JobDetails.Builder> jobDetails)The number of documents successfully and unsuccessfully processed during the translation job.TextTranslationJobProperties.BuilderjobDetails(JobDetails jobDetails)The number of documents successfully and unsuccessfully processed during the translation job.TextTranslationJobProperties.BuilderjobId(String jobId)The ID of the translation job.TextTranslationJobProperties.BuilderjobName(String jobName)The user-defined name of the translation job.TextTranslationJobProperties.BuilderjobStatus(String jobStatus)The status of the translation job.TextTranslationJobProperties.BuilderjobStatus(JobStatus jobStatus)The status of the translation job.TextTranslationJobProperties.Buildermessage(String message)An explanation of any errors that may have occurred during the translation job.default TextTranslationJobProperties.BuilderoutputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)The output configuration properties that were specified when the job was requested.TextTranslationJobProperties.BuilderoutputDataConfig(OutputDataConfig outputDataConfig)The output configuration properties that were specified when the job was requested.TextTranslationJobProperties.BuilderparallelDataNames(String... parallelDataNames)A list containing the names of the parallel data resources applied to the translation job.TextTranslationJobProperties.BuilderparallelDataNames(Collection<String> parallelDataNames)A list containing the names of the parallel data resources applied to the translation job.default TextTranslationJobProperties.Buildersettings(Consumer<TranslationSettings.Builder> settings)Settings that modify the translation output.TextTranslationJobProperties.Buildersettings(TranslationSettings settings)Settings that modify the translation output.TextTranslationJobProperties.BuildersourceLanguageCode(String sourceLanguageCode)The language code of the language of the source text.TextTranslationJobProperties.BuildersubmittedTime(Instant submittedTime)The time at which the translation job was submitted.TextTranslationJobProperties.BuildertargetLanguageCodes(String... targetLanguageCodes)The language code of the language of the target text.TextTranslationJobProperties.BuildertargetLanguageCodes(Collection<String> targetLanguageCodes)The language code of the language of the target text.TextTranslationJobProperties.BuilderterminologyNames(String... terminologyNames)A list containing the names of the terminologies applied to a translation job.TextTranslationJobProperties.BuilderterminologyNames(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
jobId
TextTranslationJobProperties.Builder jobId(String 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
TextTranslationJobProperties.Builder jobName(String 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
TextTranslationJobProperties.Builder jobStatus(String jobStatus)
The status of the translation job.
-
jobStatus
TextTranslationJobProperties.Builder jobStatus(JobStatus jobStatus)
The status of the translation job.
-
jobDetails
TextTranslationJobProperties.Builder jobDetails(JobDetails 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
default TextTranslationJobProperties.Builder jobDetails(Consumer<JobDetails.Builder> jobDetails)
The number of documents successfully and unsuccessfully processed during the translation job.
This is a convenience method that creates an instance of theJobDetails.Builderavoiding the need to create one manually viaJobDetails.builder().When the
Consumercompletes,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:
jobDetails(JobDetails)
-
sourceLanguageCode
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.
- 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
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.
- 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
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.
- 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
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.
- 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
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.
- 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
TextTranslationJobProperties.Builder parallelDataNames(Collection<String> 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
TextTranslationJobProperties.Builder parallelDataNames(String... 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
TextTranslationJobProperties.Builder message(String 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
TextTranslationJobProperties.Builder submittedTime(Instant 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
TextTranslationJobProperties.Builder endTime(Instant 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
TextTranslationJobProperties.Builder inputDataConfig(InputDataConfig 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.Builderavoiding the need to create one manually viaInputDataConfig.builder().When the
Consumercompletes,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:
inputDataConfig(InputDataConfig)
-
outputDataConfig
TextTranslationJobProperties.Builder outputDataConfig(OutputDataConfig 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.Builderavoiding the need to create one manually viaOutputDataConfig.builder().When the
Consumercompletes,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:
outputDataConfig(OutputDataConfig)
-
dataAccessRoleArn
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.
- 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
TextTranslationJobProperties.Builder settings(TranslationSettings 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.Builderavoiding the need to create one manually viaTranslationSettings.builder().When the
Consumercompletes,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:
settings(TranslationSettings)
-
-