Interface TextTranslationJobProperties.Builder

    • 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.
      • 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.
      • 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.
      • 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.
      • 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.