public class DocumentClassificationJobProperties
extends java.lang.Object
implements java.io.Serializable
Provides information about a document classification job.
Constructor and Description |
---|
DocumentClassificationJobProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.lang.String |
getDocumentClassifierArn()
The Amazon Resource Name (ARN) that identifies the document classifier.
|
java.util.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.
|
java.lang.String |
getJobId()
The identifier assigned to the document classification job.
|
java.lang.String |
getJobName()
The name that you assigned to the document classification job.
|
java.lang.String |
getJobStatus()
The current status of the document classification job.
|
java.lang.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.
|
java.util.Date |
getSubmitTime()
The time that the document classification job was submitted for
processing.
|
java.lang.String |
getVolumeKmsKeyId()
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
uses to encrypt data on the storage volume attached to the ML compute
instance(s) that process the analysis job.
|
VpcConfig |
getVpcConfig()
Configuration parameters for a private Virtual Private Cloud (VPC)
containing the resources you are using for your document classification
job.
|
int |
hashCode() |
void |
setDataAccessRoleArn(java.lang.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(java.lang.String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier.
|
void |
setEndTime(java.util.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(java.lang.String jobId)
The identifier assigned to the document classification job.
|
void |
setJobName(java.lang.String jobName)
The name that you assigned to the document classification job.
|
void |
setJobStatus(JobStatus jobStatus)
The current status of the document classification job.
|
void |
setJobStatus(java.lang.String jobStatus)
The current status of the document classification job.
|
void |
setMessage(java.lang.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(java.util.Date submitTime)
The time that the document classification job was submitted for
processing.
|
void |
setVolumeKmsKeyId(java.lang.String volumeKmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
uses to encrypt data on the storage volume attached to the ML compute
instance(s) that process the analysis job.
|
void |
setVpcConfig(VpcConfig vpcConfig)
Configuration parameters for a private Virtual Private Cloud (VPC)
containing the resources you are using for your document classification
job.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DocumentClassificationJobProperties |
withDataAccessRoleArn(java.lang.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(java.lang.String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier.
|
DocumentClassificationJobProperties |
withEndTime(java.util.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(java.lang.String jobId)
The identifier assigned to the document classification job.
|
DocumentClassificationJobProperties |
withJobName(java.lang.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(java.lang.String jobStatus)
The current status of the document classification job.
|
DocumentClassificationJobProperties |
withMessage(java.lang.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(java.util.Date submitTime)
The time that the document classification job was submitted for
processing.
|
DocumentClassificationJobProperties |
withVolumeKmsKeyId(java.lang.String volumeKmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
uses to encrypt data on the storage volume attached to the ML compute
instance(s) that process the analysis job.
|
DocumentClassificationJobProperties |
withVpcConfig(VpcConfig vpcConfig)
Configuration parameters for a private Virtual Private Cloud (VPC)
containing the resources you are using for your document classification
job.
|
public java.lang.String getJobId()
The identifier assigned to the document classification job.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
The identifier assigned to the document classification job.
public void setJobId(java.lang.String jobId)
The identifier assigned to the document classification job.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobId
- The identifier assigned to the document classification job.
public DocumentClassificationJobProperties withJobId(java.lang.String jobId)
The identifier assigned to the document classification job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 32
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobId
- The identifier assigned to the document classification job.
public java.lang.String getJobName()
The name that you assigned to the document classification job.
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
The name that you assigned to the document classification job.
public void setJobName(java.lang.String jobName)
The name that you assigned to the document classification job.
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobName
- The name that you assigned to the document classification job.
public DocumentClassificationJobProperties withJobName(java.lang.String jobName)
The name that you assigned to the document classification job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobName
- The name that you assigned to the document classification job.
public java.lang.String getJobStatus()
The current status of the document classification job. If the status is
FAILED
, the Message
field shows the reason for
the failure.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
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 setJobStatus(java.lang.String jobStatus)
The current status of the document classification job. If the status is
FAILED
, the Message
field shows the reason for
the failure.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
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(java.lang.String jobStatus)
The current status of the document classification job. If the status is
FAILED
, the Message
field shows the reason for
the failure.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
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 setJobStatus(JobStatus jobStatus)
The current status of the document classification job. If the status is
FAILED
, the Message
field shows the reason for
the failure.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED,
STOP_REQUESTED, STOPPED
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 java.lang.String getMessage()
A description of the status of the job.
A description of the status of the job.
public void setMessage(java.lang.String message)
A description of the status of the job.
message
- A description of the status of the job.
public DocumentClassificationJobProperties withMessage(java.lang.String message)
A description of the status of the job.
Returns a reference to this object so that method calls can be chained together.
message
- A description of the status of the job.
public java.util.Date getSubmitTime()
The time that the document classification job was submitted for processing.
The time that the document classification job was submitted for processing.
public void setSubmitTime(java.util.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 DocumentClassificationJobProperties withSubmitTime(java.util.Date submitTime)
The time that the document classification job was submitted for processing.
Returns a reference to this object so that method calls can be chained together.
submitTime
- The time that the document classification job was submitted for processing.
public java.util.Date getEndTime()
The time that the document classification job completed.
The time that the document classification job completed.
public void setEndTime(java.util.Date endTime)
The time that the document classification job completed.
endTime
- The time that the document classification job completed.
public DocumentClassificationJobProperties withEndTime(java.util.Date endTime)
The time that the document classification job completed.
Returns a reference to this object so that method calls can be chained together.
endTime
- The time that the document classification job completed.
public java.lang.String getDocumentClassifierArn()
The Amazon Resource Name (ARN) that identifies the document classifier.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:document
-classifier/[a-zA-Z0-9](-*[a-zA-Z0-9])*
The Amazon Resource Name (ARN) that identifies the document classifier.
public void setDocumentClassifierArn(java.lang.String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:document
-classifier/[a-zA-Z0-9](-*[a-zA-Z0-9])*
documentClassifierArn
- The Amazon Resource Name (ARN) that identifies the document classifier.
public DocumentClassificationJobProperties withDocumentClassifierArn(java.lang.String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:document
-classifier/[a-zA-Z0-9](-*[a-zA-Z0-9])*
documentClassifierArn
- The Amazon Resource Name (ARN) that identifies the document classifier.
public InputDataConfig getInputDataConfig()
The input data configuration that you supplied when you created the document classification job.
The input data configuration that you supplied when you created the document classification job.
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 DocumentClassificationJobProperties withInputDataConfig(InputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the document classification job.
Returns a reference to this object so that method calls can be chained together.
inputDataConfig
- The input 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.
The output 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 DocumentClassificationJobProperties withOutputDataConfig(OutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the document classification job.
Returns a reference to this object so that method calls can be chained together.
outputDataConfig
- The output data configuration that you supplied when you created the document classification job.
public java.lang.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.
Constraints:
Length: 20 - 2048
Pattern: arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+
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 void setDataAccessRoleArn(java.lang.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.
Constraints:
Length: 20 - 2048
Pattern: arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+
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 withDataAccessRoleArn(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern: arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+
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 java.lang.String getVolumeKmsKeyId()
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
Constraints:
Length: - 2048
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
public void setVolumeKmsKeyId(java.lang.String volumeKmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
Constraints:
Length: - 2048
volumeKmsKeyId
- ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
public DocumentClassificationJobProperties withVolumeKmsKeyId(java.lang.String volumeKmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2048
volumeKmsKeyId
- ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
public VpcConfig getVpcConfig()
Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your document classification job. For more information, see Amazon VPC.
Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your document classification job. For more information, see Amazon VPC.
public void setVpcConfig(VpcConfig vpcConfig)
Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your document classification job. For more information, see Amazon VPC.
vpcConfig
- Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your document classification job. For more information, see Amazon VPC.
public DocumentClassificationJobProperties withVpcConfig(VpcConfig vpcConfig)
Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your document classification job. For more information, see Amazon VPC.
Returns a reference to this object so that method calls can be chained together.
vpcConfig
- Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your document classification job. For more information, see Amazon VPC.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.