@Generated(value="software.amazon.awssdk:codegen") public final class StartDocumentClassificationJobResponse extends ComprehendResponse implements ToCopyableBuilder<StartDocumentClassificationJobResponse.Builder,StartDocumentClassificationJobResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartDocumentClassificationJobResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StartDocumentClassificationJobResponse.Builder |
builder() |
String |
documentClassifierArn()
The ARN of the custom classification model.
|
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 document classification 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 StartDocumentClassificationJobResponse.Builder> |
serializableBuilderClass() |
StartDocumentClassificationJobResponse.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 the job, use this identifier with the
DescribeDocumentClassificationJob operation.
DescribeDocumentClassificationJob operation.public final String jobArn()
The Amazon Resource Name (ARN) of the document classification 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>:document-classification-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab
arn:<partition>:comprehend:<region>:<account-id>:document-classification-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab
public final JobStatus jobStatus()
The status of the job:
SUBMITTED - The job has been received and 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. For details, use the DescribeDocumentClassificationJob operation.
STOP_REQUESTED - Amazon Comprehend has received a stop request for the job and is processing the request.
STOPPED - The job was successfully stopped without completing.
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 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. For details, use the DescribeDocumentClassificationJob
operation.
STOP_REQUESTED - Amazon Comprehend has received a stop request for the job and is processing the request.
STOPPED - The job was successfully stopped without completing.
JobStatuspublic final String jobStatusAsString()
The status of the job:
SUBMITTED - The job has been received and 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. For details, use the DescribeDocumentClassificationJob operation.
STOP_REQUESTED - Amazon Comprehend has received a stop request for the job and is processing the request.
STOPPED - The job was successfully stopped without completing.
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 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. For details, use the DescribeDocumentClassificationJob
operation.
STOP_REQUESTED - Amazon Comprehend has received a stop request for the job and is processing the request.
STOPPED - The job was successfully stopped without completing.
JobStatuspublic final String documentClassifierArn()
The ARN of the custom classification model.
public StartDocumentClassificationJobResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartDocumentClassificationJobResponse.Builder,StartDocumentClassificationJobResponse>toBuilder in class AwsResponsepublic static StartDocumentClassificationJobResponse.Builder builder()
public static Class<? extends StartDocumentClassificationJobResponse.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.