Class CfnDocumentClassifierPropsMixin.AugmentedManifestsListItemProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.comprehend.CfnDocumentClassifierPropsMixin.AugmentedManifestsListItemProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDocumentClassifierPropsMixin.AugmentedManifestsListItemProperty>
- Enclosing interface:
CfnDocumentClassifierPropsMixin.AugmentedManifestsListItemProperty
@Stability(Stable)
public static final class CfnDocumentClassifierPropsMixin.AugmentedManifestsListItemProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDocumentClassifierPropsMixin.AugmentedManifestsListItemProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributeNames(List<String> attributeNames) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeNames
@Stability(Stable) public CfnDocumentClassifierPropsMixin.AugmentedManifestsListItemProperty.Builder attributeNames(List<String> attributeNames) Sets the value ofCfnDocumentClassifierPropsMixin.AugmentedManifestsListItemProperty.getAttributeNames()- Parameters:
attributeNames- The JSON attribute that contains the annotations for your training documents. The number of attribute names that you specify depends on whether your augmented manifest file is the output of a single labeling job or a chained labeling job.If your file is the output of a single labeling job, specify the LabelAttributeName key that was used when the job was created in Ground Truth.
If your file is the output of a chained labeling job, specify the LabelAttributeName key for one or more jobs in the chain. Each LabelAttributeName key provides the annotations from an individual job.
- Returns:
this
-
s3Uri
@Stability(Stable) public CfnDocumentClassifierPropsMixin.AugmentedManifestsListItemProperty.Builder s3Uri(String s3Uri) - Parameters:
s3Uri- The Amazon S3 location of the augmented manifest file.- Returns:
this
-
split
@Stability(Stable) public CfnDocumentClassifierPropsMixin.AugmentedManifestsListItemProperty.Builder split(String split) - Parameters:
split- The purpose of the data you've provided in the augmented manifest. You can either train or test this data. If you don't specify, the default is train.TRAIN - all of the documents in the manifest will be used for training. If no test documents are provided, Amazon Comprehend will automatically reserve a portion of the training documents for testing.
TEST - all of the documents in the manifest will be used for testing.
- Returns:
this
-
build
@Stability(Stable) public CfnDocumentClassifierPropsMixin.AugmentedManifestsListItemProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDocumentClassifierPropsMixin.AugmentedManifestsListItemProperty>- Returns:
- a new instance of
CfnDocumentClassifierPropsMixin.AugmentedManifestsListItemProperty - Throws:
NullPointerException- if any required attribute was not provided
-