Class StartTextTranslationJobResponse

    • Method Detail

      • jobId

        public final String jobId()

        The identifier generated for the job. To get the status of a job, use this ID with the DescribeTextTranslationJob operation.

        Returns:
        The identifier generated for the job. To get the status of a job, use this ID with the DescribeTextTranslationJob operation.
      • jobStatus

        public final JobStatus jobStatus()

        The status of the job. Possible values include:

        • SUBMITTED - The job has been received and is queued for processing.

        • IN_PROGRESS - Amazon Translate is processing the job.

        • COMPLETED - The job was successfully completed and the output is available.

        • COMPLETED_WITH_ERROR - The job was completed with errors. The errors can be analyzed in the job's output.

        • FAILED - The job did not complete. To get details, use the DescribeTextTranslationJob operation.

        • STOP_REQUESTED - The user who started the job has requested that it be stopped.

        • STOPPED - The job has been stopped.

        If the service returns an enum value that is not available in the current SDK version, jobStatus will return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from jobStatusAsString().

        Returns:
        The status of the job. Possible values include:

        • SUBMITTED - The job has been received and is queued for processing.

        • IN_PROGRESS - Amazon Translate is processing the job.

        • COMPLETED - The job was successfully completed and the output is available.

        • COMPLETED_WITH_ERROR - The job was completed with errors. The errors can be analyzed in the job's output.

        • FAILED - The job did not complete. To get details, use the DescribeTextTranslationJob operation.

        • STOP_REQUESTED - The user who started the job has requested that it be stopped.

        • STOPPED - The job has been stopped.

        See Also:
        JobStatus
      • jobStatusAsString

        public final String jobStatusAsString()

        The status of the job. Possible values include:

        • SUBMITTED - The job has been received and is queued for processing.

        • IN_PROGRESS - Amazon Translate is processing the job.

        • COMPLETED - The job was successfully completed and the output is available.

        • COMPLETED_WITH_ERROR - The job was completed with errors. The errors can be analyzed in the job's output.

        • FAILED - The job did not complete. To get details, use the DescribeTextTranslationJob operation.

        • STOP_REQUESTED - The user who started the job has requested that it be stopped.

        • STOPPED - The job has been stopped.

        If the service returns an enum value that is not available in the current SDK version, jobStatus will return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from jobStatusAsString().

        Returns:
        The status of the job. Possible values include:

        • SUBMITTED - The job has been received and is queued for processing.

        • IN_PROGRESS - Amazon Translate is processing the job.

        • COMPLETED - The job was successfully completed and the output is available.

        • COMPLETED_WITH_ERROR - The job was completed with errors. The errors can be analyzed in the job's output.

        • FAILED - The job did not complete. To get details, use the DescribeTextTranslationJob operation.

        • STOP_REQUESTED - The user who started the job has requested that it be stopped.

        • STOPPED - The job has been stopped.

        See Also:
        JobStatus
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object