@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StopTargetedSentimentDetectionJobResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
StopTargetedSentimentDetectionJobResult() |
| Modifier and Type | Method and Description |
|---|---|
StopTargetedSentimentDetectionJobResult |
clone() |
boolean |
equals(Object obj) |
String |
getJobId()
The identifier of the targeted 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 targeted 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.
|
StopTargetedSentimentDetectionJobResult |
withJobId(String jobId)
The identifier of the targeted sentiment detection job to stop.
|
StopTargetedSentimentDetectionJobResult |
withJobStatus(JobStatus jobStatus)
Either
STOP_REQUESTED if the job is currently running, or STOPPED if the job was
previously stopped with the StopSentimentDetectionJob operation. |
StopTargetedSentimentDetectionJobResult |
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, setSdkResponseMetadatapublic StopTargetedSentimentDetectionJobResult()
public void setJobId(String jobId)
The identifier of the targeted sentiment detection job to stop.
jobId - The identifier of the targeted sentiment detection job to stop.public String getJobId()
The identifier of the targeted sentiment detection job to stop.
public StopTargetedSentimentDetectionJobResult withJobId(String jobId)
The identifier of the targeted sentiment detection job to stop.
jobId - The identifier of the targeted 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.JobStatuspublic 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.JobStatuspublic StopTargetedSentimentDetectionJobResult 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.JobStatuspublic StopTargetedSentimentDetectionJobResult 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.JobStatuspublic String toString()
toString in class ObjectObject.toString()public StopTargetedSentimentDetectionJobResult clone()