@Generated(value="software.amazon.awssdk:codegen") public final class DocumentClassificationJobProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DocumentClassificationJobProperties.Builder,DocumentClassificationJobProperties>
Provides information about a document classification job.
Modifier and Type | Class and Description |
---|---|
static interface |
DocumentClassificationJobProperties.Builder |
Modifier and Type | Method and Description |
---|---|
static DocumentClassificationJobProperties.Builder |
builder() |
String |
dataAccessRoleArn()
The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend
read access to your input data.
|
String |
documentClassifierArn()
The Amazon Resource Name (ARN) that identifies the document classifier.
|
Instant |
endTime()
The time that the document classification job completed.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
InputDataConfig |
inputDataConfig()
The input data configuration that you supplied when you created the document classification job.
|
String |
jobId()
The identifier assigned to the document classification job.
|
String |
jobName()
The name that you assigned to the document classification job.
|
JobStatus |
jobStatus()
The current status of the document classification job.
|
String |
jobStatusAsString()
The current status of the document classification job.
|
String |
message()
A description of the status of the job.
|
OutputDataConfig |
outputDataConfig()
The output data configuration that you supplied when you created the document classification job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DocumentClassificationJobProperties.Builder> |
serializableBuilderClass() |
Instant |
submitTime()
The time that the document classification job was submitted for processing.
|
DocumentClassificationJobProperties.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String jobId()
The identifier assigned to the document classification job.
public String jobName()
The name that you assigned to the document classification job.
public JobStatus jobStatus()
The current status of the document classification job. If the status is FAILED
, the
Message
field shows the reason for the failure.
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()
.
FAILED
, the
Message
field shows the reason for the failure.JobStatus
public String jobStatusAsString()
The current status of the document classification job. If the status is FAILED
, the
Message
field shows the reason for the failure.
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()
.
FAILED
, the
Message
field shows the reason for the failure.JobStatus
public String message()
A description of the status of the job.
public Instant submitTime()
The time that the document classification job was submitted for processing.
public Instant endTime()
The time that the document classification job completed.
public String documentClassifierArn()
The Amazon Resource Name (ARN) that identifies the document classifier.
public InputDataConfig inputDataConfig()
The input data configuration that you supplied when you created the document classification job.
public OutputDataConfig outputDataConfig()
The output data configuration that you supplied when you created the document classification job.
public String dataAccessRoleArn()
The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.
public DocumentClassificationJobProperties.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DocumentClassificationJobProperties.Builder,DocumentClassificationJobProperties>
public static DocumentClassificationJobProperties.Builder builder()
public static Class<? extends DocumentClassificationJobProperties.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.