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 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 the JobDetails.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).

      Parameters:
      jobDetails - a consumer that will call methods on JobDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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 the InputDataConfig.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).

      Parameters:
      inputDataConfig - a consumer that will call methods on InputDataConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the OutputDataConfig.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).

      Parameters:
      outputDataConfig - a consumer that will call methods on OutputDataConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      Settings that modify the translation output.

      This is a convenience method that creates an instance of the TranslationSettings.Builder avoiding the need to create one manually via TranslationSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to settings(TranslationSettings).

      Parameters:
      settings - a consumer that will call methods on TranslationSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: