@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartTextTranslationJobResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
StartTextTranslationJobResult() |
| Modifier and Type | Method and Description |
|---|---|
StartTextTranslationJobResult |
clone() |
boolean |
equals(Object obj) |
String |
getJobId()
The identifier generated for the job.
|
String |
getJobStatus()
The status of the job.
|
int |
hashCode() |
void |
setJobId(String jobId)
The identifier generated for the job.
|
void |
setJobStatus(String jobStatus)
The status of the job.
|
String |
toString()
Returns a string representation of this object.
|
StartTextTranslationJobResult |
withJobId(String jobId)
The identifier generated for the job.
|
StartTextTranslationJobResult |
withJobStatus(JobStatus jobStatus)
The status of the job.
|
StartTextTranslationJobResult |
withJobStatus(String jobStatus)
The status of the job.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setJobId(String jobId)
The identifier generated for the job. To get the status of a job, use this ID with the DescribeTextTranslationJob operation.
jobId - The identifier generated for the job. To get the status of a job, use this ID with the
DescribeTextTranslationJob operation.public String getJobId()
The identifier generated for the job. To get the status of a job, use this ID with the DescribeTextTranslationJob operation.
public StartTextTranslationJobResult withJobId(String jobId)
The identifier generated for the job. To get the status of a job, use this ID with the DescribeTextTranslationJob operation.
jobId - The identifier generated for the job. To get the status of a job, use this ID with the
DescribeTextTranslationJob operation.public void setJobStatus(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.
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.
JobStatuspublic 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.
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.
JobStatuspublic StartTextTranslationJobResult withJobStatus(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.
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.
JobStatuspublic 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.
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.
JobStatuspublic String toString()
toString in class ObjectObject.toString()public StartTextTranslationJobResult clone()