@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentClassificationJobProperties extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a document classification job.
Constructor and Description |
---|
DocumentClassificationJobProperties() |
Modifier and Type | Method and Description |
---|---|
DocumentClassificationJobProperties |
clone() |
boolean |
equals(Object obj) |
String |
getDataAccessRoleArn()
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 |
getDocumentClassifierArn()
The Amazon Resource Name (ARN) that identifies the document classifier.
|
Date |
getEndTime()
The time that the document classification job completed.
|
InputDataConfig |
getInputDataConfig()
The input data configuration that you supplied when you created the document classification job.
|
String |
getJobId()
The identifier assigned to the document classification job.
|
String |
getJobName()
The name that you assigned to the document classification job.
|
String |
getJobStatus()
The current status of the document classification job.
|
String |
getMessage()
A description of the status of the job.
|
OutputDataConfig |
getOutputDataConfig()
The output data configuration that you supplied when you created the document classification job.
|
Date |
getSubmitTime()
The time that the document classification job was submitted for processing.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataAccessRoleArn(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.
|
void |
setDocumentClassifierArn(String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier.
|
void |
setEndTime(Date endTime)
The time that the document classification job completed.
|
void |
setInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the document classification job.
|
void |
setJobId(String jobId)
The identifier assigned to the document classification job.
|
void |
setJobName(String jobName)
The name that you assigned to the document classification job.
|
void |
setJobStatus(String jobStatus)
The current status of the document classification job.
|
void |
setMessage(String message)
A description of the status of the job.
|
void |
setOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the document classification job.
|
void |
setSubmitTime(Date submitTime)
The time that the document classification job was submitted for processing.
|
String |
toString()
Returns a string representation of this object.
|
DocumentClassificationJobProperties |
withDataAccessRoleArn(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.
|
DocumentClassificationJobProperties |
withDocumentClassifierArn(String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier.
|
DocumentClassificationJobProperties |
withEndTime(Date endTime)
The time that the document classification job completed.
|
DocumentClassificationJobProperties |
withInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the document classification job.
|
DocumentClassificationJobProperties |
withJobId(String jobId)
The identifier assigned to the document classification job.
|
DocumentClassificationJobProperties |
withJobName(String jobName)
The name that you assigned to the document classification job.
|
DocumentClassificationJobProperties |
withJobStatus(JobStatus jobStatus)
The current status of the document classification job.
|
DocumentClassificationJobProperties |
withJobStatus(String jobStatus)
The current status of the document classification job.
|
DocumentClassificationJobProperties |
withMessage(String message)
A description of the status of the job.
|
DocumentClassificationJobProperties |
withOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the document classification job.
|
DocumentClassificationJobProperties |
withSubmitTime(Date submitTime)
The time that the document classification job was submitted for processing.
|
public void setJobId(String jobId)
The identifier assigned to the document classification job.
jobId
- The identifier assigned to the document classification job.public String getJobId()
The identifier assigned to the document classification job.
public DocumentClassificationJobProperties withJobId(String jobId)
The identifier assigned to the document classification job.
jobId
- The identifier assigned to the document classification job.public void setJobName(String jobName)
The name that you assigned to the document classification job.
jobName
- The name that you assigned to the document classification job.public String getJobName()
The name that you assigned to the document classification job.
public DocumentClassificationJobProperties withJobName(String jobName)
The name that you assigned to the document classification job.
jobName
- The name that you assigned to the document classification job.public void setJobStatus(String jobStatus)
The current status of the document classification job. If the status is FAILED
, the
Message
field shows the reason for the failure.
jobStatus
- The current status of the document classification job. If the status is FAILED
, the
Message
field shows the reason for the failure.JobStatus
public String getJobStatus()
The current status of the document classification job. If the status is FAILED
, the
Message
field shows the reason for the failure.
FAILED
, the
Message
field shows the reason for the failure.JobStatus
public DocumentClassificationJobProperties withJobStatus(String jobStatus)
The current status of the document classification job. If the status is FAILED
, the
Message
field shows the reason for the failure.
jobStatus
- The current status of the document classification job. If the status is FAILED
, the
Message
field shows the reason for the failure.JobStatus
public DocumentClassificationJobProperties withJobStatus(JobStatus jobStatus)
The current status of the document classification job. If the status is FAILED
, the
Message
field shows the reason for the failure.
jobStatus
- The current status of the document classification job. If the status is FAILED
, the
Message
field shows the reason for the failure.JobStatus
public void setMessage(String message)
A description of the status of the job.
message
- A description of the status of the job.public String getMessage()
A description of the status of the job.
public DocumentClassificationJobProperties withMessage(String message)
A description of the status of the job.
message
- A description of the status of the job.public void setSubmitTime(Date submitTime)
The time that the document classification job was submitted for processing.
submitTime
- The time that the document classification job was submitted for processing.public Date getSubmitTime()
The time that the document classification job was submitted for processing.
public DocumentClassificationJobProperties withSubmitTime(Date submitTime)
The time that the document classification job was submitted for processing.
submitTime
- The time that the document classification job was submitted for processing.public void setEndTime(Date endTime)
The time that the document classification job completed.
endTime
- The time that the document classification job completed.public Date getEndTime()
The time that the document classification job completed.
public DocumentClassificationJobProperties withEndTime(Date endTime)
The time that the document classification job completed.
endTime
- The time that the document classification job completed.public void setDocumentClassifierArn(String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier.
documentClassifierArn
- The Amazon Resource Name (ARN) that identifies the document classifier.public String getDocumentClassifierArn()
The Amazon Resource Name (ARN) that identifies the document classifier.
public DocumentClassificationJobProperties withDocumentClassifierArn(String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier.
documentClassifierArn
- The Amazon Resource Name (ARN) that identifies the document classifier.public void setInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the document classification job.
inputDataConfig
- The input data configuration that you supplied when you created the document classification job.public InputDataConfig getInputDataConfig()
The input data configuration that you supplied when you created the document classification job.
public DocumentClassificationJobProperties withInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the document classification job.
inputDataConfig
- The input data configuration that you supplied when you created the document classification job.public void setOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the document classification job.
outputDataConfig
- The output data configuration that you supplied when you created the document classification job.public OutputDataConfig getOutputDataConfig()
The output data configuration that you supplied when you created the document classification job.
public DocumentClassificationJobProperties withOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the document classification job.
outputDataConfig
- The output data configuration that you supplied when you created the document classification job.public void setDataAccessRoleArn(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.
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 String getDataAccessRoleArn()
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 withDataAccessRoleArn(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.
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 String toString()
toString
in class Object
Object.toString()
public DocumentClassificationJobProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.