public class StopDominantLanguageDetectionJobResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
StopDominantLanguageDetectionJobResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getJobId()
The identifier of the dominant language detection job to stop.
|
java.lang.String |
getJobStatus()
Either
STOP_REQUESTED if the job is currently running, or
STOPPED if the job was previously stopped with the
StopDominantLanguageDetectionJob operation. |
int |
hashCode() |
void |
setJobId(java.lang.String jobId)
The identifier of the dominant language detection job to stop.
|
void |
setJobStatus(JobStatus jobStatus)
Either
STOP_REQUESTED if the job is currently running, or
STOPPED if the job was previously stopped with the
StopDominantLanguageDetectionJob operation. |
void |
setJobStatus(java.lang.String jobStatus)
Either
STOP_REQUESTED if the job is currently running, or
STOPPED if the job was previously stopped with the
StopDominantLanguageDetectionJob operation. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StopDominantLanguageDetectionJobResult |
withJobId(java.lang.String jobId)
The identifier of the dominant language detection job to stop.
|
StopDominantLanguageDetectionJobResult |
withJobStatus(JobStatus jobStatus)
Either
STOP_REQUESTED if the job is currently running, or
STOPPED if the job was previously stopped with the
StopDominantLanguageDetectionJob operation. |
StopDominantLanguageDetectionJobResult |
withJobStatus(java.lang.String jobStatus)
Either
STOP_REQUESTED if the job is currently running, or
STOPPED if the job was previously stopped with the
StopDominantLanguageDetectionJob operation. |
public StopDominantLanguageDetectionJobResult()
public java.lang.String getJobId()
The identifier of the dominant language detection job to stop.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
The identifier of the dominant language detection job to stop.
public void setJobId(java.lang.String jobId)
The identifier of the dominant language detection job to stop.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobId
- The identifier of the dominant language detection job to stop.
public StopDominantLanguageDetectionJobResult withJobId(java.lang.String jobId)
The identifier of the dominant language detection job to stop.
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 of the dominant language detection job to stop.
public java.lang.String getJobStatus()
Either STOP_REQUESTED
if the job is currently running, or
STOPPED
if the job was previously stopped with the
StopDominantLanguageDetectionJob
operation.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
Either STOP_REQUESTED
if the job is currently
running, or STOPPED
if the job was previously
stopped with the StopDominantLanguageDetectionJob
operation.
JobStatus
public void setJobStatus(java.lang.String jobStatus)
Either STOP_REQUESTED
if the job is currently running, or
STOPPED
if the job was previously stopped with the
StopDominantLanguageDetectionJob
operation.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus
-
Either STOP_REQUESTED
if the job is currently
running, or STOPPED
if the job was previously
stopped with the StopDominantLanguageDetectionJob
operation.
JobStatus
public StopDominantLanguageDetectionJobResult withJobStatus(java.lang.String jobStatus)
Either STOP_REQUESTED
if the job is currently running, or
STOPPED
if the job was previously stopped with the
StopDominantLanguageDetectionJob
operation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus
-
Either STOP_REQUESTED
if the job is currently
running, or STOPPED
if the job was previously
stopped with the StopDominantLanguageDetectionJob
operation.
JobStatus
public void setJobStatus(JobStatus jobStatus)
Either STOP_REQUESTED
if the job is currently running, or
STOPPED
if the job was previously stopped with the
StopDominantLanguageDetectionJob
operation.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus
-
Either STOP_REQUESTED
if the job is currently
running, or STOPPED
if the job was previously
stopped with the StopDominantLanguageDetectionJob
operation.
JobStatus
public StopDominantLanguageDetectionJobResult withJobStatus(JobStatus jobStatus)
Either STOP_REQUESTED
if the job is currently running, or
STOPPED
if the job was previously stopped with the
StopDominantLanguageDetectionJob
operation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
jobStatus
-
Either STOP_REQUESTED
if the job is currently
running, or STOPPED
if the job was previously
stopped with the StopDominantLanguageDetectionJob
operation.
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.