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 |
mode(DocumentClassifierMode mode)
Indicates the mode in which the specific classifier was trained.
|
DocumentClassifierProperties.Builder |
mode(String mode)
Indicates the mode in which the specific classifier was trained.
|
DocumentClassifierProperties.Builder |
modelKmsKeyId(String modelKmsKeyId)
ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models.
|
default DocumentClassifierProperties.Builder |
outputDataConfig(Consumer<DocumentClassifierOutputDataConfig.Builder> outputDataConfig)
Provides output results configuration parameters for custom classifier jobs.
|
DocumentClassifierProperties.Builder |
outputDataConfig(DocumentClassifierOutputDataConfig outputDataConfig)
Provides output results configuration parameters for custom classifier jobs.
|
DocumentClassifierProperties.Builder |
sourceModelArn(String sourceModelArn)
The Amazon Resource Name (ARN) of the source model.
|
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.
|
DocumentClassifierProperties.Builder |
versionName(String versionName)
The version name that you assigned to the document classifier.
|
DocumentClassifierProperties.Builder |
volumeKmsKeyId(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.
|
default DocumentClassifierProperties.Builder |
vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for
your custom classifier.
|
DocumentClassifierProperties.Builder |
vpcConfig(VpcConfig vpcConfig)
Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for
your custom classifier.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDocumentClassifierProperties.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,
LanguageCodeDocumentClassifierProperties.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,
LanguageCodeDocumentClassifierProperties.Builder status(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.
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,
ModelStatusDocumentClassifierProperties.Builder status(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.
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,
ModelStatusDocumentClassifierProperties.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 method 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.BuilderinputDataConfig(DocumentClassifierInputDataConfig)DocumentClassifierProperties.Builder outputDataConfig(DocumentClassifierOutputDataConfig outputDataConfig)
Provides output results configuration parameters for custom classifier jobs.
outputDataConfig - Provides output results configuration parameters for custom classifier jobs.default DocumentClassifierProperties.Builder outputDataConfig(Consumer<DocumentClassifierOutputDataConfig.Builder> outputDataConfig)
Provides output results configuration parameters for custom classifier jobs.
This is a convenience method that creates an instance of theDocumentClassifierOutputDataConfig.Builder avoiding the need to create one manually via
DocumentClassifierOutputDataConfig.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to outputDataConfig(DocumentClassifierOutputDataConfig).
outputDataConfig - a consumer that will call methods on DocumentClassifierOutputDataConfig.BuilderoutputDataConfig(DocumentClassifierOutputDataConfig)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 method 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.BuilderclassifierMetadata(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.DocumentClassifierProperties.Builder volumeKmsKeyId(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"
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"
DocumentClassifierProperties.Builder vpcConfig(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.default DocumentClassifierProperties.Builder vpcConfig(Consumer<VpcConfig.Builder> 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.
This is a convenience method that creates an instance of theVpcConfig.Builder avoiding the need to
create one manually via VpcConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to vpcConfig(VpcConfig).
vpcConfig - a consumer that will call methods on VpcConfig.BuildervpcConfig(VpcConfig)DocumentClassifierProperties.Builder mode(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.
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,
DocumentClassifierModeDocumentClassifierProperties.Builder mode(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.
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,
DocumentClassifierModeDocumentClassifierProperties.Builder modelKmsKeyId(String modelKmsKeyId)
ID for the AWS Key Management Service (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"
modelKmsKeyId - ID for the AWS Key Management Service (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"
DocumentClassifierProperties.Builder versionName(String versionName)
The version name that you assigned to the document classifier.
versionName - The version name that you assigned to the document classifier.DocumentClassifierProperties.Builder sourceModelArn(String sourceModelArn)
The Amazon Resource Name (ARN) of the source model. This model was imported from a different AWS account to create the document classifier model in your AWS account.
sourceModelArn - The Amazon Resource Name (ARN) of the source model. This model was imported from a different AWS
account to create the document classifier model in your AWS account.Copyright © 2023. All rights reserved.