Class CfnFlywheelPropsMixin.EntityRecognitionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.comprehend.CfnFlywheelPropsMixin.EntityRecognitionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlywheelPropsMixin.EntityRecognitionConfigProperty>
- Enclosing interface:
CfnFlywheelPropsMixin.EntityRecognitionConfigProperty
@Stability(Stable)
public static final class CfnFlywheelPropsMixin.EntityRecognitionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlywheelPropsMixin.EntityRecognitionConfigProperty>
A builder for
CfnFlywheelPropsMixin.EntityRecognitionConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.entityTypes(List<? extends Object> entityTypes) Sets the value ofCfnFlywheelPropsMixin.EntityRecognitionConfigProperty.getEntityTypes()entityTypes(IResolvable entityTypes) Sets the value ofCfnFlywheelPropsMixin.EntityRecognitionConfigProperty.getEntityTypes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entityTypes
@Stability(Stable) public CfnFlywheelPropsMixin.EntityRecognitionConfigProperty.Builder entityTypes(IResolvable entityTypes) Sets the value ofCfnFlywheelPropsMixin.EntityRecognitionConfigProperty.getEntityTypes()- Parameters:
entityTypes- Up to 25 entity types that the model is trained to recognize.- Returns:
this
-
entityTypes
@Stability(Stable) public CfnFlywheelPropsMixin.EntityRecognitionConfigProperty.Builder entityTypes(List<? extends Object> entityTypes) Sets the value ofCfnFlywheelPropsMixin.EntityRecognitionConfigProperty.getEntityTypes()- Parameters:
entityTypes- Up to 25 entity types that the model is trained to recognize.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlywheelPropsMixin.EntityRecognitionConfigProperty>- Returns:
- a new instance of
CfnFlywheelPropsMixin.EntityRecognitionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-