@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StopSentimentDetectionJobResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
StopSentimentDetectionJobResult() |
Modifier and Type | Method and Description |
---|---|
StopSentimentDetectionJobResult |
clone() |
boolean |
equals(Object obj) |
String |
getJobId()
The identifier of the sentiment detection job to stop.
|
String |
getJobStatus()
Either
STOP_REQUESTED if the job is currently running, or STOPPED if the job was
previously stopped with the StopSentimentDetectionJob operation. |
int |
hashCode() |
void |
setJobId(String jobId)
The identifier of the sentiment detection job to stop.
|
void |
setJobStatus(String jobStatus)
Either
STOP_REQUESTED if the job is currently running, or STOPPED if the job was
previously stopped with the StopSentimentDetectionJob operation. |
String |
toString()
Returns a string representation of this object.
|
StopSentimentDetectionJobResult |
withJobId(String jobId)
The identifier of the sentiment detection job to stop.
|
StopSentimentDetectionJobResult |
withJobStatus(JobStatus jobStatus)
Either
STOP_REQUESTED if the job is currently running, or STOPPED if the job was
previously stopped with the StopSentimentDetectionJob operation. |
StopSentimentDetectionJobResult |
withJobStatus(String jobStatus)
Either
STOP_REQUESTED if the job is currently running, or STOPPED if the job was
previously stopped with the StopSentimentDetectionJob operation. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setJobId(String jobId)
The identifier of the sentiment detection job to stop.
jobId
- The identifier of the sentiment detection job to stop.public String getJobId()
The identifier of the sentiment detection job to stop.
public StopSentimentDetectionJobResult withJobId(String jobId)
The identifier of the sentiment detection job to stop.
jobId
- The identifier of the sentiment detection job to stop.public void setJobStatus(String jobStatus)
Either STOP_REQUESTED
if the job is currently running, or STOPPED
if the job was
previously stopped with the StopSentimentDetectionJob
operation.
jobStatus
- Either STOP_REQUESTED
if the job is currently running, or STOPPED
if the job was
previously stopped with the StopSentimentDetectionJob
operation.JobStatus
public String getJobStatus()
Either STOP_REQUESTED
if the job is currently running, or STOPPED
if the job was
previously stopped with the StopSentimentDetectionJob
operation.
STOP_REQUESTED
if the job is currently running, or STOPPED
if the job
was previously stopped with the StopSentimentDetectionJob
operation.JobStatus
public StopSentimentDetectionJobResult withJobStatus(String jobStatus)
Either STOP_REQUESTED
if the job is currently running, or STOPPED
if the job was
previously stopped with the StopSentimentDetectionJob
operation.
jobStatus
- Either STOP_REQUESTED
if the job is currently running, or STOPPED
if the job was
previously stopped with the StopSentimentDetectionJob
operation.JobStatus
public StopSentimentDetectionJobResult withJobStatus(JobStatus jobStatus)
Either STOP_REQUESTED
if the job is currently running, or STOPPED
if the job was
previously stopped with the StopSentimentDetectionJob
operation.
jobStatus
- Either STOP_REQUESTED
if the job is currently running, or STOPPED
if the job was
previously stopped with the StopSentimentDetectionJob
operation.JobStatus
public String toString()
toString
in class Object
Object.toString()
public StopSentimentDetectionJobResult clone()