public static interface DocumentClassifierProperties.Builder extends SdkPojo, CopyableBuilder<DocumentClassifierProperties.Builder,DocumentClassifierProperties>
Modifier and Type | Method and Description |
---|---|
DocumentClassifierProperties.Builder |
classifierMetadata(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.
|
default DocumentClassifierProperties.Builder |
classifierMetadata(Consumer<ClassifierMetadata.Builder> 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.Builder |
dataAccessRoleArn(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.Builder |
documentClassifierArn(String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier.
|
DocumentClassifierProperties.Builder |
endTime(Instant endTime)
The time that training the document classifier completed.
|
default DocumentClassifierProperties.Builder |
inputDataConfig(Consumer<DocumentClassifierInputDataConfig.Builder> inputDataConfig)
The input data configuration that you supplied when you created the document classifier for training.
|
DocumentClassifierProperties.Builder |
inputDataConfig(DocumentClassifierInputDataConfig inputDataConfig)
The input data configuration that you supplied when you created the document classifier for training.
|
DocumentClassifierProperties.Builder |
languageCode(LanguageCode languageCode)
The language code for the language of the documents that the classifier was trained on.
|
DocumentClassifierProperties.Builder |
languageCode(String languageCode)
The language code for the language of the documents that the classifier was trained on.
|
DocumentClassifierProperties.Builder |
message(String message)
Additional information about the status of the classifier.
|
DocumentClassifierProperties.Builder |
status(ModelStatus status)
The status of the document classifier.
|
DocumentClassifierProperties.Builder |
status(String status)
The status of the document classifier.
|
DocumentClassifierProperties.Builder |
submitTime(Instant submitTime)
The time that the document classifier was submitted for training.
|
DocumentClassifierProperties.Builder |
trainingEndTime(Instant trainingEndTime)
The time that training of the document classifier was completed.
|
DocumentClassifierProperties.Builder |
trainingStartTime(Instant trainingStartTime)
Indicates the time when the training starts on documentation classifiers.
|
copy
applyMutation, build
DocumentClassifierProperties.Builder documentClassifierArn(String documentClassifierArn)
The Amazon Resource Name (ARN) that identifies the document classifier.
documentClassifierArn
- The Amazon Resource Name (ARN) that identifies the document classifier.DocumentClassifierProperties.Builder languageCode(String languageCode)
The language code for the language of the documents that the classifier was trained on.
languageCode
- The language code for the language of the documents that the classifier was trained on.LanguageCode
,
LanguageCode
DocumentClassifierProperties.Builder languageCode(LanguageCode languageCode)
The language code for the language of the documents that the classifier was trained on.
languageCode
- The language code for the language of the documents that the classifier was trained on.LanguageCode
,
LanguageCode
DocumentClassifierProperties.Builder status(String 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.
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.ModelStatus
,
ModelStatus
DocumentClassifierProperties.Builder status(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.
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.ModelStatus
,
ModelStatus
DocumentClassifierProperties.Builder message(String message)
Additional information about the status of the classifier.
message
- Additional information about the status of the classifier.DocumentClassifierProperties.Builder submitTime(Instant submitTime)
The time that the document classifier was submitted for training.
submitTime
- The time that the document classifier was submitted for training.DocumentClassifierProperties.Builder endTime(Instant endTime)
The time that training the document classifier completed.
endTime
- The time that training the document classifier completed.DocumentClassifierProperties.Builder trainingStartTime(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.
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.DocumentClassifierProperties.Builder trainingEndTime(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.
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.DocumentClassifierProperties.Builder inputDataConfig(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.default DocumentClassifierProperties.Builder inputDataConfig(Consumer<DocumentClassifierInputDataConfig.Builder> inputDataConfig)
The input data configuration that you supplied when you created the document classifier for training.
This is a convenience that creates an instance of theDocumentClassifierInputDataConfig.Builder
avoiding the need to create one manually via DocumentClassifierInputDataConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to inputDataConfig(DocumentClassifierInputDataConfig)
.inputDataConfig
- a consumer that will call methods on DocumentClassifierInputDataConfig.Builder
inputDataConfig(DocumentClassifierInputDataConfig)
DocumentClassifierProperties.Builder classifierMetadata(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.default DocumentClassifierProperties.Builder classifierMetadata(Consumer<ClassifierMetadata.Builder> 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.
This is a convenience that creates an instance of theClassifierMetadata.Builder
avoiding the need to
create one manually via ClassifierMetadata.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to classifierMetadata(ClassifierMetadata)
.classifierMetadata
- a consumer that will call methods on ClassifierMetadata.Builder
classifierMetadata(ClassifierMetadata)
DocumentClassifierProperties.Builder dataAccessRoleArn(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.
dataAccessRoleArn
- The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon
Comprehend read access to your input data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.