public class StartTextTranslationJobResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
StartTextTranslationJobResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getJobId()
The identifier generated for the job.
|
java.lang.String |
getJobStatus()
The status of the job.
|
int |
hashCode() |
void |
setJobId(java.lang.String jobId)
The identifier generated for the job.
|
void |
setJobStatus(JobStatus jobStatus)
The status of the job.
|
void |
setJobStatus(java.lang.String jobStatus)
The status of the job.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartTextTranslationJobResult |
withJobId(java.lang.String jobId)
The identifier generated for the job.
|
StartTextTranslationJobResult |
withJobStatus(JobStatus jobStatus)
The status of the job.
|
StartTextTranslationJobResult |
withJobStatus(java.lang.String jobStatus)
The status of the job.
|
public java.lang.String getJobId()
The identifier generated for the job. To get the status of a job, use this ID with the DescribeTextTranslationJob operation.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
The identifier generated for the job. To get the status of a job, use this ID with the DescribeTextTranslationJob operation.
public void setJobId(java.lang.String jobId)
The identifier generated for the job. To get the status of a job, use this ID with the DescribeTextTranslationJob operation.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobId
- The identifier generated for the job. To get the status of a job, use this ID with the DescribeTextTranslationJob operation.
public StartTextTranslationJobResult withJobId(java.lang.String jobId)
The identifier generated for the job. To get the status of a job, use this ID with the DescribeTextTranslationJob operation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobId
- The identifier generated for the job. To get the status of a job, use this ID with the DescribeTextTranslationJob operation.
public java.lang.String getJobStatus()
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.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED,
COMPLETED_WITH_ERROR, FAILED, STOP_REQUESTED, STOPPED
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.
JobStatus
public void setJobStatus(java.lang.String 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.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED,
COMPLETED_WITH_ERROR, FAILED, STOP_REQUESTED, STOPPED
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.
JobStatus
public StartTextTranslationJobResult withJobStatus(java.lang.String 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED,
COMPLETED_WITH_ERROR, FAILED, STOP_REQUESTED, STOPPED
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.
JobStatus
public void setJobStatus(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.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED,
COMPLETED_WITH_ERROR, FAILED, STOP_REQUESTED, STOPPED
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.
JobStatus
public StartTextTranslationJobResult withJobStatus(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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED,
COMPLETED_WITH_ERROR, FAILED, STOP_REQUESTED, STOPPED
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.
JobStatus
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.