public class StopTextTranslationJobResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
StopTextTranslationJobResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getJobId()
The job ID of the stopped batch translation job.
|
java.lang.String |
getJobStatus()
The status of the designated job.
|
int |
hashCode() |
void |
setJobId(java.lang.String jobId)
The job ID of the stopped batch translation job.
|
void |
setJobStatus(JobStatus jobStatus)
The status of the designated job.
|
void |
setJobStatus(java.lang.String jobStatus)
The status of the designated job.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StopTextTranslationJobResult |
withJobId(java.lang.String jobId)
The job ID of the stopped batch translation job.
|
StopTextTranslationJobResult |
withJobStatus(JobStatus jobStatus)
The status of the designated job.
|
StopTextTranslationJobResult |
withJobStatus(java.lang.String jobStatus)
The status of the designated job.
|
public java.lang.String getJobId()
The job ID of the stopped batch translation job.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
The job ID of the stopped batch translation job.
public void setJobId(java.lang.String jobId)
The job ID of the stopped batch translation job.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobId - The job ID of the stopped batch translation job.
public StopTextTranslationJobResult withJobId(java.lang.String jobId)
The job ID of the stopped batch translation job.
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 job ID of the stopped batch translation job.
public java.lang.String getJobStatus()
The status of the designated job. Upon successful completion, the job's
status will be STOPPED.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED,
COMPLETED_WITH_ERROR, FAILED, STOP_REQUESTED, STOPPED
The status of the designated job. Upon successful completion, the
job's status will be STOPPED.
JobStatuspublic void setJobStatus(java.lang.String jobStatus)
The status of the designated job. Upon successful completion, the job's
status will be STOPPED.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED,
COMPLETED_WITH_ERROR, FAILED, STOP_REQUESTED, STOPPED
jobStatus -
The status of the designated job. Upon successful completion,
the job's status will be STOPPED.
JobStatuspublic StopTextTranslationJobResult withJobStatus(java.lang.String jobStatus)
The status of the designated job. Upon successful completion, the job's
status will be 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 designated job. Upon successful completion,
the job's status will be STOPPED.
JobStatuspublic void setJobStatus(JobStatus jobStatus)
The status of the designated job. Upon successful completion, the job's
status will be STOPPED.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED,
COMPLETED_WITH_ERROR, FAILED, STOP_REQUESTED, STOPPED
jobStatus -
The status of the designated job. Upon successful completion,
the job's status will be STOPPED.
JobStatuspublic StopTextTranslationJobResult withJobStatus(JobStatus jobStatus)
The status of the designated job. Upon successful completion, the job's
status will be 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 designated job. Upon successful completion,
the job's status will be STOPPED.
JobStatuspublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.