Class CfnEntityRecognizer.AugmentedManifestsListItemProperty.Builder
java.lang.Object
software.amazon.awscdk.services.comprehend.CfnEntityRecognizer.AugmentedManifestsListItemProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntityRecognizer.AugmentedManifestsListItemProperty>
- Enclosing interface:
CfnEntityRecognizer.AugmentedManifestsListItemProperty
@Stability(Stable)
public static final class CfnEntityRecognizer.AugmentedManifestsListItemProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntityRecognizer.AugmentedManifestsListItemProperty>
A builder for
CfnEntityRecognizer.AugmentedManifestsListItemProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotationDataS3Uri(String annotationDataS3Uri) attributeNames(List<String> attributeNames) build()Builds the configured instance.documentType(String documentType) Sets the value ofCfnEntityRecognizer.AugmentedManifestsListItemProperty.getDocumentType()Sets the value ofCfnEntityRecognizer.AugmentedManifestsListItemProperty.getS3Uri()sourceDocumentsS3Uri(String sourceDocumentsS3Uri) Sets the value ofCfnEntityRecognizer.AugmentedManifestsListItemProperty.getSplit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeNames
@Stability(Stable) public CfnEntityRecognizer.AugmentedManifestsListItemProperty.Builder attributeNames(List<String> attributeNames) - Parameters:
attributeNames- The JSON attribute that contains the annotations for your training documents. This parameter is required.- Returns:
this
-
s3Uri
@Stability(Stable) public CfnEntityRecognizer.AugmentedManifestsListItemProperty.Builder s3Uri(String s3Uri) Sets the value ofCfnEntityRecognizer.AugmentedManifestsListItemProperty.getS3Uri()- Parameters:
s3Uri- The Amazon S3 location of the augmented manifest file. This parameter is required.- Returns:
this
-
annotationDataS3Uri
@Stability(Stable) public CfnEntityRecognizer.AugmentedManifestsListItemProperty.Builder annotationDataS3Uri(String annotationDataS3Uri) - Parameters:
annotationDataS3Uri- The S3 prefix to the annotation files that are referred in the augmented manifest file.- Returns:
this
-
documentType
@Stability(Stable) public CfnEntityRecognizer.AugmentedManifestsListItemProperty.Builder documentType(String documentType) Sets the value ofCfnEntityRecognizer.AugmentedManifestsListItemProperty.getDocumentType()- Parameters:
documentType- The type of augmented manifest.- Returns:
this
-
sourceDocumentsS3Uri
@Stability(Stable) public CfnEntityRecognizer.AugmentedManifestsListItemProperty.Builder sourceDocumentsS3Uri(String sourceDocumentsS3Uri) - Parameters:
sourceDocumentsS3Uri- The S3 prefix to the source files (PDFs) that are referred to in the augmented manifest file.- Returns:
this
-
split
@Stability(Stable) public CfnEntityRecognizer.AugmentedManifestsListItemProperty.Builder split(String split) Sets the value ofCfnEntityRecognizer.AugmentedManifestsListItemProperty.getSplit()- Parameters:
split- The purpose of the data you've provided in the augmented manifest.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEntityRecognizer.AugmentedManifestsListItemProperty>- Returns:
- a new instance of
CfnEntityRecognizer.AugmentedManifestsListItemProperty - Throws:
NullPointerException- if any required attribute was not provided
-