Class CfnFlywheel.EntityTypesListItemProperty.Builder
java.lang.Object
software.amazon.awscdk.services.comprehend.CfnFlywheel.EntityTypesListItemProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlywheel.EntityTypesListItemProperty>
- Enclosing interface:
CfnFlywheel.EntityTypesListItemProperty
@Stability(Stable)
public static final class CfnFlywheel.EntityTypesListItemProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlywheel.EntityTypesListItemProperty>
A builder for
CfnFlywheel.EntityTypesListItemProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFlywheel.EntityTypesListItemProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnFlywheel.EntityTypesListItemProperty.getType()- Parameters:
type- An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer. This parameter is required. Entity types must not contain the following invalid characters: \n (line break), \n (escaped line break, \r (carriage return), \r (escaped carriage return), \t (tab), \t (escaped tab), and , (comma).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlywheel.EntityTypesListItemProperty>- Returns:
- a new instance of
CfnFlywheel.EntityTypesListItemProperty - Throws:
NullPointerException- if any required attribute was not provided
-