Class CfnFlywheelMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.comprehend.CfnFlywheelMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlywheelMixinProps>
- Enclosing interface:
CfnFlywheelMixinProps
@Stability(Stable)
public static final class CfnFlywheelMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlywheelMixinProps>
A builder for
CfnFlywheelMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactiveModelArn(String activeModelArn) Sets the value ofCfnFlywheelMixinProps.getActiveModelArn()build()Builds the configured instance.dataAccessRoleArn(String dataAccessRoleArn) Sets the value ofCfnFlywheelMixinProps.getDataAccessRoleArn()dataLakeS3Uri(String dataLakeS3Uri) Sets the value ofCfnFlywheelMixinProps.getDataLakeS3Uri()dataSecurityConfig(CfnFlywheelPropsMixin.DataSecurityConfigProperty dataSecurityConfig) Sets the value ofCfnFlywheelMixinProps.getDataSecurityConfig()dataSecurityConfig(IResolvable dataSecurityConfig) Sets the value ofCfnFlywheelMixinProps.getDataSecurityConfig()flywheelName(String flywheelName) Sets the value ofCfnFlywheelMixinProps.getFlywheelName()Sets the value ofCfnFlywheelMixinProps.getModelType()Sets the value ofCfnFlywheelMixinProps.getTags()taskConfig(CfnFlywheelPropsMixin.TaskConfigProperty taskConfig) Sets the value ofCfnFlywheelMixinProps.getTaskConfig()taskConfig(IResolvable taskConfig) Sets the value ofCfnFlywheelMixinProps.getTaskConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
activeModelArn
Sets the value ofCfnFlywheelMixinProps.getActiveModelArn()- Parameters:
activeModelArn- The Amazon Resource Number (ARN) of the active model version.- Returns:
this
-
dataAccessRoleArn
Sets the value ofCfnFlywheelMixinProps.getDataAccessRoleArn()- Parameters:
dataAccessRoleArn- The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to access the flywheel data.- Returns:
this
-
dataLakeS3Uri
Sets the value ofCfnFlywheelMixinProps.getDataLakeS3Uri()- Parameters:
dataLakeS3Uri- Amazon S3 URI of the data lake location.- Returns:
this
-
dataSecurityConfig
@Stability(Stable) public CfnFlywheelMixinProps.Builder dataSecurityConfig(IResolvable dataSecurityConfig) Sets the value ofCfnFlywheelMixinProps.getDataSecurityConfig()- Parameters:
dataSecurityConfig- Data security configuration.- Returns:
this
-
dataSecurityConfig
@Stability(Stable) public CfnFlywheelMixinProps.Builder dataSecurityConfig(CfnFlywheelPropsMixin.DataSecurityConfigProperty dataSecurityConfig) Sets the value ofCfnFlywheelMixinProps.getDataSecurityConfig()- Parameters:
dataSecurityConfig- Data security configuration.- Returns:
this
-
flywheelName
Sets the value ofCfnFlywheelMixinProps.getFlywheelName()- Parameters:
flywheelName- Name for the flywheel.- Returns:
this
-
modelType
Sets the value ofCfnFlywheelMixinProps.getModelType()- Parameters:
modelType- Model type of the flywheel's model.- Returns:
this
-
tags
Sets the value ofCfnFlywheelMixinProps.getTags()- Parameters:
tags- Tags associated with the endpoint being created. A tag is a key-value pair that adds metadata to the endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by the sales department.- Returns:
this
-
taskConfig
Sets the value ofCfnFlywheelMixinProps.getTaskConfig()- Parameters:
taskConfig- Configuration about the model associated with a flywheel.- Returns:
this
-
taskConfig
@Stability(Stable) public CfnFlywheelMixinProps.Builder taskConfig(CfnFlywheelPropsMixin.TaskConfigProperty taskConfig) Sets the value ofCfnFlywheelMixinProps.getTaskConfig()- Parameters:
taskConfig- Configuration about the model associated with a flywheel.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlywheelMixinProps>- Returns:
- a new instance of
CfnFlywheelMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-