Class CfnFlywheelPropsMixin.TaskConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.comprehend.mixins.CfnFlywheelPropsMixin.TaskConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlywheelPropsMixin.TaskConfigProperty>
- Enclosing interface:
CfnFlywheelPropsMixin.TaskConfigProperty
@Stability(Stable)
public static final class CfnFlywheelPropsMixin.TaskConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlywheelPropsMixin.TaskConfigProperty>
A builder for
CfnFlywheelPropsMixin.TaskConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.documentClassificationConfig(IResolvable documentClassificationConfig) documentClassificationConfig(CfnFlywheelPropsMixin.DocumentClassificationConfigProperty documentClassificationConfig) entityRecognitionConfig(IResolvable entityRecognitionConfig) Sets the value ofCfnFlywheelPropsMixin.TaskConfigProperty.getEntityRecognitionConfig()entityRecognitionConfig(CfnFlywheelPropsMixin.EntityRecognitionConfigProperty entityRecognitionConfig) Sets the value ofCfnFlywheelPropsMixin.TaskConfigProperty.getEntityRecognitionConfig()languageCode(String languageCode) Sets the value ofCfnFlywheelPropsMixin.TaskConfigProperty.getLanguageCode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
documentClassificationConfig
@Stability(Stable) public CfnFlywheelPropsMixin.TaskConfigProperty.Builder documentClassificationConfig(IResolvable documentClassificationConfig) - Parameters:
documentClassificationConfig- Configuration required for a document classification model.- Returns:
this
-
documentClassificationConfig
@Stability(Stable) public CfnFlywheelPropsMixin.TaskConfigProperty.Builder documentClassificationConfig(CfnFlywheelPropsMixin.DocumentClassificationConfigProperty documentClassificationConfig) - Parameters:
documentClassificationConfig- Configuration required for a document classification model.- Returns:
this
-
entityRecognitionConfig
@Stability(Stable) public CfnFlywheelPropsMixin.TaskConfigProperty.Builder entityRecognitionConfig(IResolvable entityRecognitionConfig) Sets the value ofCfnFlywheelPropsMixin.TaskConfigProperty.getEntityRecognitionConfig()- Parameters:
entityRecognitionConfig- Configuration required for an entity recognition model.- Returns:
this
-
entityRecognitionConfig
@Stability(Stable) public CfnFlywheelPropsMixin.TaskConfigProperty.Builder entityRecognitionConfig(CfnFlywheelPropsMixin.EntityRecognitionConfigProperty entityRecognitionConfig) Sets the value ofCfnFlywheelPropsMixin.TaskConfigProperty.getEntityRecognitionConfig()- Parameters:
entityRecognitionConfig- Configuration required for an entity recognition model.- Returns:
this
-
languageCode
@Stability(Stable) public CfnFlywheelPropsMixin.TaskConfigProperty.Builder languageCode(String languageCode) Sets the value ofCfnFlywheelPropsMixin.TaskConfigProperty.getLanguageCode()- Parameters:
languageCode- Language code for the language that the model supports.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlywheelPropsMixin.TaskConfigProperty>- Returns:
- a new instance of
CfnFlywheelPropsMixin.TaskConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-