@Generated(value="software.amazon.awssdk:codegen") public final class DocumentClassifierProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DocumentClassifierProperties.Builder,DocumentClassifierProperties>
Provides information about a document classifier.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DocumentClassifierProperties.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DocumentClassifierProperties.Builder |
builder() |
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.
|
String |
dataAccessRoleArn()
The Amazon Resource Name (ARN) of the 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 training the document classifier completed.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
flywheelArn()
The Amazon Resource Number (ARN) of the flywheel
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
DocumentClassifierInputDataConfig |
inputDataConfig()
The input data configuration that you supplied when you created the document classifier for training.
|
LanguageCode |
languageCode()
The language code for the language of the documents that the classifier was trained on.
|
String |
languageCodeAsString()
The language code for the language of the documents that the classifier was trained on.
|
String |
message()
Additional information about the status of the classifier.
|
DocumentClassifierMode |
mode()
Indicates the mode in which the specific classifier was trained.
|
String |
modeAsString()
Indicates the mode in which the specific classifier was trained.
|
String |
modelKmsKeyId()
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models.
|
DocumentClassifierOutputDataConfig |
outputDataConfig()
Provides output results configuration parameters for custom classifier jobs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DocumentClassifierProperties.Builder> |
serializableBuilderClass() |
String |
sourceModelArn()
The Amazon Resource Name (ARN) of the source model.
|
ModelStatus |
status()
The status of the document classifier.
|
String |
statusAsString()
The status of the document classifier.
|
Instant |
submitTime()
The time that the document classifier was submitted for training.
|
DocumentClassifierProperties.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
trainingEndTime()
The time that training of the document classifier was completed.
|
Instant |
trainingStartTime()
Indicates the time when the training starts on documentation classifiers.
|
String |
versionName()
The version name that you assigned to the document classifier.
|
String |
volumeKmsKeyId()
ID for the Amazon Web Services 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 |
vpcConfig()
Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for
your custom classifier.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String documentClassifierArn()
The Amazon Resource Name (ARN) that identifies the document classifier.
public final LanguageCode languageCode()
The language code for the language of the documents that the classifier was trained on.
If the service returns an enum value that is not available in the current SDK version, languageCode will
return LanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageCodeAsString().
LanguageCodepublic final String languageCodeAsString()
The language code for the language of the documents that the classifier was trained on.
If the service returns an enum value that is not available in the current SDK version, languageCode will
return LanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageCodeAsString().
LanguageCodepublic final ModelStatus status()
The status of the document classifier. If the status is TRAINED the classifier is ready to use. If
the status is TRAINED_WITH_WARNINGS the classifier training succeeded, but you should review the
warnings returned in the CreateDocumentClassifier response.
If the status is FAILED you can see additional information about why the classifier wasn't trained
in the Message field.
If the service returns an enum value that is not available in the current SDK version, status will
return ModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
TRAINED the classifier is ready to
use. If the status is TRAINED_WITH_WARNINGS the classifier training succeeded, but you
should review the warnings returned in the CreateDocumentClassifier response.
If the status is FAILED you can see additional information about why the classifier wasn't
trained in the Message field.
ModelStatuspublic final String statusAsString()
The status of the document classifier. If the status is TRAINED the classifier is ready to use. If
the status is TRAINED_WITH_WARNINGS the classifier training succeeded, but you should review the
warnings returned in the CreateDocumentClassifier response.
If the status is FAILED you can see additional information about why the classifier wasn't trained
in the Message field.
If the service returns an enum value that is not available in the current SDK version, status will
return ModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
TRAINED the classifier is ready to
use. If the status is TRAINED_WITH_WARNINGS the classifier training succeeded, but you
should review the warnings returned in the CreateDocumentClassifier response.
If the status is FAILED you can see additional information about why the classifier wasn't
trained in the Message field.
ModelStatuspublic final String message()
Additional information about the status of the classifier.
public final Instant submitTime()
The time that the document classifier was submitted for training.
public final Instant endTime()
The time that training the document classifier completed.
public final Instant 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 final Instant 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 final DocumentClassifierInputDataConfig inputDataConfig()
The input data configuration that you supplied when you created the document classifier for training.
public final DocumentClassifierOutputDataConfig outputDataConfig()
Provides output results configuration parameters for custom classifier jobs.
public final 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.
public final String dataAccessRoleArn()
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
public final String volumeKmsKeyId()
ID for the Amazon Web Services 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"
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 final 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.
public final 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.
If the service returns an enum value that is not available in the current SDK version, mode will return
DocumentClassifierMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
DocumentClassifierModepublic final String modeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, mode will return
DocumentClassifierMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
DocumentClassifierModepublic final String modelKmsKeyId()
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId 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"
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 final String versionName()
The version name that you assigned to the document classifier.
public final String sourceModelArn()
The Amazon Resource Name (ARN) of the source model. This model was imported from a different Amazon Web Services account to create the document classifier model in your Amazon Web Services account.
public final String flywheelArn()
The Amazon Resource Number (ARN) of the flywheel
public DocumentClassifierProperties.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DocumentClassifierProperties.Builder,DocumentClassifierProperties>public static DocumentClassifierProperties.Builder builder()
public static Class<? extends DocumentClassifierProperties.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.