Class CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.comprehend.CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty>
- Enclosing interface:
CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty
@Stability(Stable)
public static final class CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntityRecognizer.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
-
entityTypes
@Stability(Stable) public CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.Builder entityTypes(IResolvable entityTypes) - Parameters:
entityTypes- The entity types in the labeled training data. This parameter is required.- Returns:
this
-
entityTypes
@Stability(Stable) public CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.Builder entityTypes(List<? extends Object> entityTypes) - Parameters:
entityTypes- The entity types in the labeled training data. This parameter is required.- Returns:
this
-
annotations
@Stability(Stable) public CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.Builder annotations(IResolvable annotations) - Parameters:
annotations- Describes the annotations associated with an entity recognizer.- Returns:
this
-
annotations
@Stability(Stable) public CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.Builder annotations(CfnEntityRecognizer.EntityRecognizerAnnotationsProperty annotations) - Parameters:
annotations- Describes the annotations associated with an entity recognizer.- Returns:
this
-
augmentedManifests
@Stability(Stable) public CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.Builder augmentedManifests(IResolvable augmentedManifests) Sets the value ofCfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.getAugmentedManifests()- Parameters:
augmentedManifests- A list of augmented manifest files that provide training data for a custom model.- Returns:
this
-
augmentedManifests
@Stability(Stable) public CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.Builder augmentedManifests(List<? extends Object> augmentedManifests) Sets the value ofCfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.getAugmentedManifests()- Parameters:
augmentedManifests- A list of augmented manifest files that provide training data for a custom model.- Returns:
this
-
dataFormat
@Stability(Stable) public CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.Builder dataFormat(String dataFormat) - Parameters:
dataFormat- The format of your training data.- Returns:
this
-
documents
@Stability(Stable) public CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.Builder documents(IResolvable documents) - Parameters:
documents- Describes the training documents submitted with an entity recognizer.- Returns:
this
-
documents
@Stability(Stable) public CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.Builder documents(CfnEntityRecognizer.EntityRecognizerDocumentsProperty documents) - Parameters:
documents- Describes the training documents submitted with an entity recognizer.- Returns:
this
-
entityList
@Stability(Stable) public CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.Builder entityList(IResolvable entityList) - Parameters:
entityList- Describes the entity list submitted with an entity recognizer.- Returns:
this
-
entityList
@Stability(Stable) public CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.Builder entityList(CfnEntityRecognizer.EntityRecognizerEntityListProperty entityList) - Parameters:
entityList- Describes the entity list submitted with an entity recognizer.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty>- Returns:
- a new instance of
CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-