Class CfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.comprehend.CfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty>
- Enclosing interface:
CfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty
@Stability(Stable)
public static final class CfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotationDataS3Uri(String annotationDataS3Uri) attributeNames(List<String> attributeNames) build()Builds the configured instance.documentType(String documentType) sourceDocumentsS3Uri(String sourceDocumentsS3Uri)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
annotationDataS3Uri
@Stability(Stable) public CfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty.Builder annotationDataS3Uri(String annotationDataS3Uri) Sets the value ofCfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty.getAnnotationDataS3Uri()- Parameters:
annotationDataS3Uri- The S3 prefix to the annotation files that are referred in the augmented manifest file.- Returns:
this
-
attributeNames
@Stability(Stable) public CfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty.Builder attributeNames(List<String> attributeNames) Sets the value ofCfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty.getAttributeNames()- Parameters:
attributeNames- The JSON attribute that contains the annotations for your training documents.- Returns:
this
-
documentType
@Stability(Stable) public CfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty.Builder documentType(String documentType) Sets the value ofCfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty.getDocumentType()- Parameters:
documentType- The type of augmented manifest.- Returns:
this
-
s3Uri
@Stability(Stable) public CfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty.Builder s3Uri(String s3Uri) - Parameters:
s3Uri- The Amazon S3 location of the augmented manifest file.- Returns:
this
-
sourceDocumentsS3Uri
@Stability(Stable) public CfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty.Builder sourceDocumentsS3Uri(String sourceDocumentsS3Uri) Sets the value ofCfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty.getSourceDocumentsS3Uri()- 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 CfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty.Builder split(String split) - 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<CfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty>- Returns:
- a new instance of
CfnEntityRecognizerPropsMixin.AugmentedManifestsListItemProperty - Throws:
NullPointerException- if any required attribute was not provided
-