@Generated(value="software.amazon.awssdk:codegen") public final class StartTargetedSentimentDetectionJobResponse extends ComprehendResponse implements ToCopyableBuilder<StartTargetedSentimentDetectionJobResponse.Builder,StartTargetedSentimentDetectionJobResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartTargetedSentimentDetectionJobResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StartTargetedSentimentDetectionJobResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
jobArn()
The Amazon Resource Name (ARN) of the targeted sentiment detection job.
|
String |
jobId()
The identifier generated for the job.
|
JobStatus |
jobStatus()
The status of the job.
|
String |
jobStatusAsString()
The status of the job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartTargetedSentimentDetectionJobResponse.Builder> |
serializableBuilderClass() |
StartTargetedSentimentDetectionJobResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String jobId()
The identifier generated for the job. To get the status of a job, use this identifier with the
DescribeTargetedSentimentDetectionJob operation.
DescribeTargetedSentimentDetectionJob operation.public final String jobArn()
The Amazon Resource Name (ARN) of the targeted 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>:targeted-sentiment-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:targeted-sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
arn:<partition>:comprehend:<region>:<account-id>:targeted-sentiment-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:targeted-sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
public final 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 DescribeTargetedSentimentDetectionJob
operation.
If the service returns an enum value that is not available in the current SDK version, jobStatus will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobStatusAsString().
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
DescribeTargetedSentimentDetectionJob operation.
JobStatuspublic final String jobStatusAsString()
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 DescribeTargetedSentimentDetectionJob
operation.
If the service returns an enum value that is not available in the current SDK version, jobStatus will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobStatusAsString().
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
DescribeTargetedSentimentDetectionJob operation.
JobStatuspublic StartTargetedSentimentDetectionJobResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartTargetedSentimentDetectionJobResponse.Builder,StartTargetedSentimentDetectionJobResponse>toBuilder in class AwsResponsepublic static StartTargetedSentimentDetectionJobResponse.Builder builder()
public static Class<? extends StartTargetedSentimentDetectionJobResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.