public class DocumentClassifierProperties
extends java.lang.Object
implements java.io.Serializable
Provides information about a document classifier.
Constructor and Description |
---|
DocumentClassifierProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ClassifierMetadata |
getClassifierMetadata()
Information about the document classifier, including the number of
documents used for training the classifier, the number of documents used
for test the classifier, and an accuracy rating.
|
java.lang.String |
getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the AWS Identity and 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 training the document classifier completed.
|
DocumentClassifierInputDataConfig |
getInputDataConfig()
The input data configuration that you supplied when you created the
document classifier for training.
|
java.lang.String |
getLanguageCode()
The language code for the language of the documents that the classifier
was trained on.
|
java.lang.String |
getMessage()
Additional information about the status of the classifier.
|
java.lang.String |
getMode()
Indicates the mode in which the specific classifier was trained.
|
DocumentClassifierOutputDataConfig |
getOutputDataConfig()
Provides output results configuration parameters for custom classifier
jobs.
|
java.lang.String |
getStatus()
The status of the document classifier.
|
java.util.Date |
getSubmitTime()
The time that the document classifier was submitted for training.
|
java.util.Date |
getTrainingEndTime()
The time that training of the document classifier was completed.
|
java.util.Date |
getTrainingStartTime()
Indicates the time when the training starts on documentation classifiers.
|
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 custom classifier.
|
int |
hashCode() |
void |
setClassifierMetadata(ClassifierMetadata classifierMetadata)
Information about the document classifier, including the number of
documents used for training the classifier, the number of documents used
for test the classifier, and an accuracy rating.
|
void |
setDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and 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 training the document classifier completed.
|
void |
setInputDataConfig(DocumentClassifierInputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the
document classifier for training.
|
void |
setLanguageCode(LanguageCode languageCode)
The language code for the language of the documents that the classifier
was trained on.
|
void |
setLanguageCode(java.lang.String languageCode)
The language code for the language of the documents that the classifier
was trained on.
|
void |
setMessage(java.lang.String message)
Additional information about the status of the classifier.
|
void |
setMode(DocumentClassifierMode mode)
Indicates the mode in which the specific classifier was trained.
|
void |
setMode(java.lang.String mode)
Indicates the mode in which the specific classifier was trained.
|
void |
setOutputDataConfig(DocumentClassifierOutputDataConfig outputDataConfig)
Provides output results configuration parameters for custom classifier
jobs.
|
void |
setStatus(ModelStatus status)
The status of the document classifier.
|
void |
setStatus(java.lang.String status)
The status of the document classifier.
|
void |
setSubmitTime(java.util.Date submitTime)
The time that the document classifier was submitted for training.
|
void |
setTrainingEndTime(java.util.Date trainingEndTime)
The time that training of the document classifier was completed.
|
void |
setTrainingStartTime(java.util.Date trainingStartTime)
Indicates the time when the training starts on documentation classifiers.
|
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 custom classifier.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DocumentClassifierProperties |
withClassifierMetadata(ClassifierMetadata classifierMetadata)
Information about the document classifier, including the number of
documents used for training the classifier, the number of documents used
for test the classifier, and an accuracy rating.
|
DocumentClassifierProperties |
withDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM)
role that grants Amazon Comprehend read access to your input data.
|
DocumentClassifierProperties |
withDocumentClassifierArn(java.lang.String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier.
|
DocumentClassifierProperties |
withEndTime(java.util.Date endTime)
The time that training the document classifier completed.
|
DocumentClassifierProperties |
withInputDataConfig(DocumentClassifierInputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the
document classifier for training.
|
DocumentClassifierProperties |
withLanguageCode(LanguageCode languageCode)
The language code for the language of the documents that the classifier
was trained on.
|
DocumentClassifierProperties |
withLanguageCode(java.lang.String languageCode)
The language code for the language of the documents that the classifier
was trained on.
|
DocumentClassifierProperties |
withMessage(java.lang.String message)
Additional information about the status of the classifier.
|
DocumentClassifierProperties |
withMode(DocumentClassifierMode mode)
Indicates the mode in which the specific classifier was trained.
|
DocumentClassifierProperties |
withMode(java.lang.String mode)
Indicates the mode in which the specific classifier was trained.
|
DocumentClassifierProperties |
withOutputDataConfig(DocumentClassifierOutputDataConfig outputDataConfig)
Provides output results configuration parameters for custom classifier
jobs.
|
DocumentClassifierProperties |
withStatus(ModelStatus status)
The status of the document classifier.
|
DocumentClassifierProperties |
withStatus(java.lang.String status)
The status of the document classifier.
|
DocumentClassifierProperties |
withSubmitTime(java.util.Date submitTime)
The time that the document classifier was submitted for training.
|
DocumentClassifierProperties |
withTrainingEndTime(java.util.Date trainingEndTime)
The time that training of the document classifier was completed.
|
DocumentClassifierProperties |
withTrainingStartTime(java.util.Date trainingStartTime)
Indicates the time when the training starts on documentation classifiers.
|
DocumentClassifierProperties |
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.
|
DocumentClassifierProperties |
withVpcConfig(VpcConfig vpcConfig)
Configuration parameters for a private Virtual Private Cloud (VPC)
containing the resources you are using for your custom classifier.
|
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 DocumentClassifierProperties 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 java.lang.String getLanguageCode()
The language code for the language of the documents that the classifier was trained on.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
The language code for the language of the documents that the classifier was trained on.
LanguageCode
public void setLanguageCode(java.lang.String languageCode)
The language code for the language of the documents that the classifier was trained on.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
languageCode
- The language code for the language of the documents that the classifier was trained on.
LanguageCode
public DocumentClassifierProperties withLanguageCode(java.lang.String languageCode)
The language code for the language of the documents that the classifier was trained on.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
languageCode
- The language code for the language of the documents that the classifier was trained on.
LanguageCode
public void setLanguageCode(LanguageCode languageCode)
The language code for the language of the documents that the classifier was trained on.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
languageCode
- The language code for the language of the documents that the classifier was trained on.
LanguageCode
public DocumentClassifierProperties withLanguageCode(LanguageCode languageCode)
The language code for the language of the documents that the classifier was trained on.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
languageCode
- The language code for the language of the documents that the classifier was trained on.
LanguageCode
public java.lang.String getStatus()
The status of the document classifier. If the status is
TRAINED
the classifier is ready to use. If the status is
FAILED
you can see additional information about why the
classifier wasn't trained in the Message
field.
Constraints:
Allowed Values: SUBMITTED, TRAINING, DELETING, STOP_REQUESTED,
STOPPED, IN_ERROR, TRAINED
The status of the document classifier. If the status is
TRAINED
the classifier is ready to use. If the
status is FAILED
you can see additional information
about why the classifier wasn't trained in the
Message
field.
ModelStatus
public void setStatus(java.lang.String status)
The status of the document classifier. If the status is
TRAINED
the classifier is ready to use. If the status is
FAILED
you can see additional information about why the
classifier wasn't trained in the Message
field.
Constraints:
Allowed Values: SUBMITTED, TRAINING, DELETING, STOP_REQUESTED,
STOPPED, IN_ERROR, TRAINED
status
-
The status of the document classifier. If the status is
TRAINED
the classifier is ready to use. If the
status is FAILED
you can see additional
information about why the classifier wasn't trained in the
Message
field.
ModelStatus
public DocumentClassifierProperties withStatus(java.lang.String status)
The status of the document classifier. If the status is
TRAINED
the classifier is ready to use. If the status is
FAILED
you can see additional information about why the
classifier wasn't trained in the Message
field.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUBMITTED, TRAINING, DELETING, STOP_REQUESTED,
STOPPED, IN_ERROR, TRAINED
status
-
The status of the document classifier. If the status is
TRAINED
the classifier is ready to use. If the
status is FAILED
you can see additional
information about why the classifier wasn't trained in the
Message
field.
ModelStatus
public void setStatus(ModelStatus status)
The status of the document classifier. If the status is
TRAINED
the classifier is ready to use. If the status is
FAILED
you can see additional information about why the
classifier wasn't trained in the Message
field.
Constraints:
Allowed Values: SUBMITTED, TRAINING, DELETING, STOP_REQUESTED,
STOPPED, IN_ERROR, TRAINED
status
-
The status of the document classifier. If the status is
TRAINED
the classifier is ready to use. If the
status is FAILED
you can see additional
information about why the classifier wasn't trained in the
Message
field.
ModelStatus
public DocumentClassifierProperties withStatus(ModelStatus status)
The status of the document classifier. If the status is
TRAINED
the classifier is ready to use. If the status is
FAILED
you can see additional information about why the
classifier wasn't trained in the Message
field.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUBMITTED, TRAINING, DELETING, STOP_REQUESTED,
STOPPED, IN_ERROR, TRAINED
status
-
The status of the document classifier. If the status is
TRAINED
the classifier is ready to use. If the
status is FAILED
you can see additional
information about why the classifier wasn't trained in the
Message
field.
ModelStatus
public java.lang.String getMessage()
Additional information about the status of the classifier.
Additional information about the status of the classifier.
public void setMessage(java.lang.String message)
Additional information about the status of the classifier.
message
- Additional information about the status of the classifier.
public DocumentClassifierProperties withMessage(java.lang.String message)
Additional information about the status of the classifier.
Returns a reference to this object so that method calls can be chained together.
message
- Additional information about the status of the classifier.
public java.util.Date getSubmitTime()
The time that the document classifier was submitted for training.
The time that the document classifier was submitted for training.
public void setSubmitTime(java.util.Date submitTime)
The time that the document classifier was submitted for training.
submitTime
- The time that the document classifier was submitted for training.
public DocumentClassifierProperties withSubmitTime(java.util.Date submitTime)
The time that the document classifier was submitted for training.
Returns a reference to this object so that method calls can be chained together.
submitTime
- The time that the document classifier was submitted for training.
public java.util.Date getEndTime()
The time that training the document classifier completed.
The time that training the document classifier completed.
public void setEndTime(java.util.Date endTime)
The time that training the document classifier completed.
endTime
- The time that training the document classifier completed.
public DocumentClassifierProperties withEndTime(java.util.Date endTime)
The time that training the document classifier completed.
Returns a reference to this object so that method calls can be chained together.
endTime
- The time that training the document classifier completed.
public java.util.Date getTrainingStartTime()
Indicates the time when the training starts on documentation classifiers. You are billed for the time interval between this time and the value of TrainingEndTime.
Indicates the time when the training starts on documentation classifiers. You are billed for the time interval between this time and the value of TrainingEndTime.
public void setTrainingStartTime(java.util.Date trainingStartTime)
Indicates the time when the training starts on documentation classifiers. You are billed for the time interval between this time and the value of TrainingEndTime.
trainingStartTime
- Indicates the time when the training starts on documentation classifiers. You are billed for the time interval between this time and the value of TrainingEndTime.
public DocumentClassifierProperties withTrainingStartTime(java.util.Date trainingStartTime)
Indicates the time when the training starts on documentation classifiers. You are billed for the time interval between this time and the value of TrainingEndTime.
Returns a reference to this object so that method calls can be chained together.
trainingStartTime
- Indicates the time when the training starts on documentation classifiers. You are billed for the time interval between this time and the value of TrainingEndTime.
public java.util.Date getTrainingEndTime()
The time that training of the document classifier was completed. Indicates the time when the training completes on documentation classifiers. You are billed for the time interval between this time and the value of TrainingStartTime.
The time that training of the document classifier was completed. Indicates the time when the training completes on documentation classifiers. You are billed for the time interval between this time and the value of TrainingStartTime.
public void setTrainingEndTime(java.util.Date trainingEndTime)
The time that training of the document classifier was completed. Indicates the time when the training completes on documentation classifiers. You are billed for the time interval between this time and the value of TrainingStartTime.
trainingEndTime
- The time that training of the document classifier was completed. Indicates the time when the training completes on documentation classifiers. You are billed for the time interval between this time and the value of TrainingStartTime.
public DocumentClassifierProperties withTrainingEndTime(java.util.Date trainingEndTime)
The time that training of the document classifier was completed. Indicates the time when the training completes on documentation classifiers. You are billed for the time interval between this time and the value of TrainingStartTime.
Returns a reference to this object so that method calls can be chained together.
trainingEndTime
- The time that training of the document classifier was completed. Indicates the time when the training completes on documentation classifiers. You are billed for the time interval between this time and the value of TrainingStartTime.
public DocumentClassifierInputDataConfig getInputDataConfig()
The input data configuration that you supplied when you created the document classifier for training.
The input data configuration that you supplied when you created the document classifier for training.
public void setInputDataConfig(DocumentClassifierInputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the document classifier for training.
inputDataConfig
- The input data configuration that you supplied when you created the document classifier for training.
public DocumentClassifierProperties withInputDataConfig(DocumentClassifierInputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the document classifier for training.
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 classifier for training.
public DocumentClassifierOutputDataConfig getOutputDataConfig()
Provides output results configuration parameters for custom classifier jobs.
Provides output results configuration parameters for custom classifier jobs.
public void setOutputDataConfig(DocumentClassifierOutputDataConfig outputDataConfig)
Provides output results configuration parameters for custom classifier jobs.
outputDataConfig
- Provides output results configuration parameters for custom classifier jobs.
public DocumentClassifierProperties withOutputDataConfig(DocumentClassifierOutputDataConfig outputDataConfig)
Provides output results configuration parameters for custom classifier jobs.
Returns a reference to this object so that method calls can be chained together.
outputDataConfig
- Provides output results configuration parameters for custom classifier jobs.
public ClassifierMetadata getClassifierMetadata()
Information about the document classifier, including the number of documents used for training the classifier, the number of documents used for test the classifier, and an accuracy rating.
Information about the document classifier, including the number of documents used for training the classifier, the number of documents used for test the classifier, and an accuracy rating.
public void setClassifierMetadata(ClassifierMetadata classifierMetadata)
Information about the document classifier, including the number of documents used for training the classifier, the number of documents used for test the classifier, and an accuracy rating.
classifierMetadata
- Information about the document classifier, including the number of documents used for training the classifier, the number of documents used for test the classifier, and an accuracy rating.
public DocumentClassifierProperties withClassifierMetadata(ClassifierMetadata classifierMetadata)
Information about the document classifier, including the number of documents used for training the classifier, the number of documents used for test the classifier, and an accuracy rating.
Returns a reference to this object so that method calls can be chained together.
classifierMetadata
- Information about the document classifier, including the number of documents used for training the classifier, the number of documents used for test the classifier, and an accuracy rating.
public java.lang.String getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the AWS Identity and 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 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 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 Management (IAM) role that grants Amazon Comprehend read access to your input data.
public DocumentClassifierProperties withDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the AWS Identity and 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 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 DocumentClassifierProperties 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 custom classifier. For more information, see Amazon VPC.
Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom classifier. 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 custom classifier. For more information, see Amazon VPC.
vpcConfig
- Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom classifier. For more information, see Amazon VPC.
public DocumentClassifierProperties withVpcConfig(VpcConfig vpcConfig)
Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom classifier. 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 custom classifier. For more information, see Amazon VPC.
public java.lang.String getMode()
Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.
Constraints:
Allowed Values: MULTI_CLASS, MULTI_LABEL
Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.
DocumentClassifierMode
public void setMode(java.lang.String mode)
Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.
Constraints:
Allowed Values: MULTI_CLASS, MULTI_LABEL
mode
- Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.
DocumentClassifierMode
public DocumentClassifierProperties withMode(java.lang.String mode)
Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: MULTI_CLASS, MULTI_LABEL
mode
- Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.
DocumentClassifierMode
public void setMode(DocumentClassifierMode mode)
Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.
Constraints:
Allowed Values: MULTI_CLASS, MULTI_LABEL
mode
- Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.
DocumentClassifierMode
public DocumentClassifierProperties withMode(DocumentClassifierMode mode)
Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: MULTI_CLASS, MULTI_LABEL
mode
- Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.
DocumentClassifierMode
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.