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