Class CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.comprehend.CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty>
- Enclosing interface:
CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty
@Stability(Stable)
public static final class CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotations(IResolvable annotations) augmentedManifests(List<? extends Object> augmentedManifests) augmentedManifests(IResolvable augmentedManifests) build()Builds the configured instance.dataFormat(String dataFormat) documents(IResolvable documents) entityList(IResolvable entityList) entityTypes(List<? extends Object> entityTypes) entityTypes(IResolvable entityTypes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
annotations
@Stability(Stable) public CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.Builder annotations(IResolvable annotations) Sets the value ofCfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.getAnnotations()- Parameters:
annotations- Describes the annotations associated with an entity recognizer.- Returns:
this
-
annotations
@Stability(Stable) public CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.Builder annotations(CfnEntityRecognizerPropsMixin.EntityRecognizerAnnotationsProperty annotations) Sets the value ofCfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.getAnnotations()- Parameters:
annotations- Describes the annotations associated with an entity recognizer.- Returns:
this
-
augmentedManifests
@Stability(Stable) public CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.Builder augmentedManifests(IResolvable augmentedManifests) Sets the value ofCfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.getAugmentedManifests()- Parameters:
augmentedManifests- A list of augmented manifest files that provide training data for a custom model.- Returns:
this
-
augmentedManifests
@Stability(Stable) public CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.Builder augmentedManifests(List<? extends Object> augmentedManifests) Sets the value ofCfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.getAugmentedManifests()- Parameters:
augmentedManifests- A list of augmented manifest files that provide training data for a custom model.- Returns:
this
-
dataFormat
@Stability(Stable) public CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.Builder dataFormat(String dataFormat) Sets the value ofCfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.getDataFormat()- Parameters:
dataFormat- The format of your training data.- Returns:
this
-
documents
@Stability(Stable) public CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.Builder documents(IResolvable documents) Sets the value ofCfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.getDocuments()- Parameters:
documents- Describes the training documents submitted with an entity recognizer.- Returns:
this
-
documents
@Stability(Stable) public CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.Builder documents(CfnEntityRecognizerPropsMixin.EntityRecognizerDocumentsProperty documents) Sets the value ofCfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.getDocuments()- Parameters:
documents- Describes the training documents submitted with an entity recognizer.- Returns:
this
-
entityList
@Stability(Stable) public CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.Builder entityList(IResolvable entityList) Sets the value ofCfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.getEntityList()- Parameters:
entityList- Describes the entity list submitted with an entity recognizer.- Returns:
this
-
entityList
@Stability(Stable) public CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.Builder entityList(CfnEntityRecognizerPropsMixin.EntityRecognizerEntityListProperty entityList) Sets the value ofCfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.getEntityList()- Parameters:
entityList- Describes the entity list submitted with an entity recognizer.- Returns:
this
-
entityTypes
@Stability(Stable) public CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.Builder entityTypes(IResolvable entityTypes) Sets the value ofCfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.getEntityTypes()- Parameters:
entityTypes- The entity types in the labeled training data.- Returns:
this
-
entityTypes
@Stability(Stable) public CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.Builder entityTypes(List<? extends Object> entityTypes) Sets the value ofCfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty.getEntityTypes()- Parameters:
entityTypes- The entity types in the labeled training data.- Returns:
this
-
build
@Stability(Stable) public CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty>- Returns:
- a new instance of
CfnEntityRecognizerPropsMixin.EntityRecognizerInputDataConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-