@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartSentimentDetectionJobResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
StartSentimentDetectionJobResult() |
| Modifier and Type | Method and Description |
|---|---|
StartSentimentDetectionJobResult |
clone() |
boolean |
equals(Object obj) |
String |
getJobArn()
The Amazon Resource Name (ARN) of the sentiment detection job.
|
String |
getJobId()
The identifier generated for the job.
|
String |
getJobStatus()
The status of the job.
|
int |
hashCode() |
void |
setJobArn(String jobArn)
The Amazon Resource Name (ARN) of the sentiment detection job.
|
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.
|
StartSentimentDetectionJobResult |
withJobArn(String jobArn)
The Amazon Resource Name (ARN) of the sentiment detection job.
|
StartSentimentDetectionJobResult |
withJobId(String jobId)
The identifier generated for the job.
|
StartSentimentDetectionJobResult |
withJobStatus(JobStatus jobStatus)
The status of the job.
|
StartSentimentDetectionJobResult |
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 identifier with the operation.
jobId - The identifier generated for the job. To get the status of a job, use this identifier with the operation.public String getJobId()
The identifier generated for the job. To get the status of a job, use this identifier with the operation.
public StartSentimentDetectionJobResult withJobId(String jobId)
The identifier generated for the job. To get the status of a job, use this identifier with the operation.
jobId - The identifier generated for the job. To get the status of a job, use this identifier with the operation.public void setJobArn(String jobArn)
The Amazon Resource Name (ARN) of the sentiment detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
jobArn - The Amazon Resource Name (ARN) of the sentiment detection job. It is a unique, fully qualified identifier
for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The
format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
public String getJobArn()
The Amazon Resource Name (ARN) of the sentiment detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
arn:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
public StartSentimentDetectionJobResult withJobArn(String jobArn)
The Amazon Resource Name (ARN) of the sentiment detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
jobArn - The Amazon Resource Name (ARN) of the sentiment detection job. It is a unique, fully qualified identifier
for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The
format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
public void setJobStatus(String jobStatus)
The status of the job.
SUBMITTED - The job has been received and is queued for processing.
IN_PROGRESS - Amazon Comprehend is processing the job.
COMPLETED - The job was successfully completed and the output is available.
FAILED - The job did not complete. To get details, use the operation.
jobStatus - The status of the job.
SUBMITTED - The job has been received and is queued for processing.
IN_PROGRESS - Amazon Comprehend is processing the job.
COMPLETED - The job was successfully completed and the output is available.
FAILED - The job did not complete. To get details, use the operation.
JobStatuspublic String getJobStatus()
The status of the job.
SUBMITTED - The job has been received and is queued for processing.
IN_PROGRESS - Amazon Comprehend is processing the job.
COMPLETED - The job was successfully completed and the output is available.
FAILED - The job did not complete. To get details, use the operation.
SUBMITTED - The job has been received and is queued for processing.
IN_PROGRESS - Amazon Comprehend is processing the job.
COMPLETED - The job was successfully completed and the output is available.
FAILED - The job did not complete. To get details, use the operation.
JobStatuspublic StartSentimentDetectionJobResult withJobStatus(String jobStatus)
The status of the job.
SUBMITTED - The job has been received and is queued for processing.
IN_PROGRESS - Amazon Comprehend is processing the job.
COMPLETED - The job was successfully completed and the output is available.
FAILED - The job did not complete. To get details, use the operation.
jobStatus - The status of the job.
SUBMITTED - The job has been received and is queued for processing.
IN_PROGRESS - Amazon Comprehend is processing the job.
COMPLETED - The job was successfully completed and the output is available.
FAILED - The job did not complete. To get details, use the operation.
JobStatuspublic StartSentimentDetectionJobResult withJobStatus(JobStatus jobStatus)
The status of the job.
SUBMITTED - The job has been received and is queued for processing.
IN_PROGRESS - Amazon Comprehend is processing the job.
COMPLETED - The job was successfully completed and the output is available.
FAILED - The job did not complete. To get details, use the operation.
jobStatus - The status of the job.
SUBMITTED - The job has been received and is queued for processing.
IN_PROGRESS - Amazon Comprehend is processing the job.
COMPLETED - The job was successfully completed and the output is available.
FAILED - The job did not complete. To get details, use the operation.
JobStatuspublic String toString()
toString in class ObjectObject.toString()public StartSentimentDetectionJobResult clone()