Class CfnDocumentClassifierPropsMixin.DocumentClassifierOutputDataConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.comprehend.CfnDocumentClassifierPropsMixin.DocumentClassifierOutputDataConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDocumentClassifierPropsMixin.DocumentClassifierOutputDataConfigProperty>
- Enclosing interface:
CfnDocumentClassifierPropsMixin.DocumentClassifierOutputDataConfigProperty
@Stability(Stable)
public static final class CfnDocumentClassifierPropsMixin.DocumentClassifierOutputDataConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDocumentClassifierPropsMixin.DocumentClassifierOutputDataConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyId
@Stability(Stable) public CfnDocumentClassifierPropsMixin.DocumentClassifierOutputDataConfigProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnDocumentClassifierPropsMixin.DocumentClassifierOutputDataConfigProperty.getKmsKeyId()- Parameters:
kmsKeyId- ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job. The KmsKeyId can be one 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 Alias:
"alias/ExampleAlias" - ARN of a KMS Key Alias:
"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"
- KMS Key ID:
- Returns:
this
-
s3Uri
@Stability(Stable) public CfnDocumentClassifierPropsMixin.DocumentClassifierOutputDataConfigProperty.Builder s3Uri(String s3Uri) Sets the value ofCfnDocumentClassifierPropsMixin.DocumentClassifierOutputDataConfigProperty.getS3Uri()- Parameters:
s3Uri- When you use theOutputDataConfigobject while creating a custom classifier, you specify the Amazon S3 location where you want to write the confusion matrix and other output files. The URI must be in the same Region as the API endpoint that you are calling. The location is used as the prefix for the actual location of this output file.When the custom classifier job is finished, the service creates the output file in a directory specific to the job. The
S3Urifield contains the location of the output file, calledoutput.tar.gz. It is a compressed archive that contains the confusion matrix.- Returns:
this
-
build
@Stability(Stable) public CfnDocumentClassifierPropsMixin.DocumentClassifierOutputDataConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDocumentClassifierPropsMixin.DocumentClassifierOutputDataConfigProperty>- Returns:
- a new instance of
CfnDocumentClassifierPropsMixin.DocumentClassifierOutputDataConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-