@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 AWS Identity and 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 training the document classifier completed.
|
boolean |
equals(Object obj) |
<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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DocumentClassifierProperties.Builder> |
serializableBuilderClass() |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Instant |
trainingEndTime()
The time that training of the document classifier was completed.
|
Instant |
trainingStartTime()
Indicates the time when the training starts on documentation classifiers.
|
copy
public String documentClassifierArn()
The Amazon Resource Name (ARN) that identifies the document classifier.
public 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()
.
LanguageCode
public 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()
.
LanguageCode
public ModelStatus status()
The status of the document classifier. The 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.
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 FAILED
you can see additional information about why the classifier
wasn't trained in the Message
field.ModelStatus
public String statusAsString()
The status of the document classifier. The 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.
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 FAILED
you can see additional information about why the classifier
wasn't trained in the Message
field.ModelStatus
public String message()
Additional information about the status of the classifier.
public Instant submitTime()
The time that the document classifier was submitted for training.
public Instant endTime()
The time that training the document classifier completed.
public 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 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 DocumentClassifierInputDataConfig inputDataConfig()
The input data configuration that you supplied when you created the document classifier for training.
public 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 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.
public DocumentClassifierProperties.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DocumentClassifierProperties.Builder,DocumentClassifierProperties>
public static DocumentClassifierProperties.Builder builder()
public static Class<? extends DocumentClassifierProperties.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.