Class CfnFlywheel.Builder
java.lang.Object
software.amazon.awscdk.services.comprehend.CfnFlywheel.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlywheel>
- Enclosing class:
CfnFlywheel
@Stability(Stable)
public static final class CfnFlywheel.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlywheel>
A fluent builder for
CfnFlywheel
.-
Method Summary
Modifier and TypeMethodDescriptionactiveModelArn
(String activeModelArn) The Amazon Resource Number (ARN) of the active model version.build()
static CfnFlywheel.Builder
dataAccessRoleArn
(String dataAccessRoleArn) The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to access the flywheel data.dataLakeS3Uri
(String dataLakeS3Uri) Amazon S3 URI of the data lake location.dataSecurityConfig
(IResolvable dataSecurityConfig) Data security configuration.dataSecurityConfig
(CfnFlywheel.DataSecurityConfigProperty dataSecurityConfig) Data security configuration.flywheelName
(String flywheelName) Name for the flywheel.Model type of the flywheel's model.Tags associated with the endpoint being created.taskConfig
(IResolvable taskConfig) Configuration about the model associated with a flywheel.taskConfig
(CfnFlywheel.TaskConfigProperty taskConfig) Configuration about the model associated with a flywheel.
-
Method Details
-
create
@Stability(Stable) public static CfnFlywheel.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnFlywheel.Builder
.
-
dataAccessRoleArn
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to access the flywheel data.- Parameters:
dataAccessRoleArn
- The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to access the flywheel data. This parameter is required.- Returns:
this
- See Also:
-
dataLakeS3Uri
Amazon S3 URI of the data lake location.- Parameters:
dataLakeS3Uri
- Amazon S3 URI of the data lake location. This parameter is required.- Returns:
this
- See Also:
-
flywheelName
Name for the flywheel.- Parameters:
flywheelName
- Name for the flywheel. This parameter is required.- Returns:
this
- See Also:
-
activeModelArn
The Amazon Resource Number (ARN) of the active model version.- Parameters:
activeModelArn
- The Amazon Resource Number (ARN) of the active model version. This parameter is required.- Returns:
this
- See Also:
-
dataSecurityConfig
Data security configuration.- Parameters:
dataSecurityConfig
- Data security configuration. This parameter is required.- Returns:
this
- See Also:
-
dataSecurityConfig
@Stability(Stable) public CfnFlywheel.Builder dataSecurityConfig(CfnFlywheel.DataSecurityConfigProperty dataSecurityConfig) Data security configuration.- Parameters:
dataSecurityConfig
- Data security configuration. This parameter is required.- Returns:
this
- See Also:
-
modelType
Model type of the flywheel's model.- Parameters:
modelType
- Model type of the flywheel's model. This parameter is required.- Returns:
this
- See Also:
-
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.
- Parameters:
tags
- Tags associated with the endpoint being created. This parameter is required.- Returns:
this
- See Also:
-
taskConfig
Configuration about the model associated with a flywheel.- Parameters:
taskConfig
- Configuration about the model associated with a flywheel. This parameter is required.- Returns:
this
- See Also:
-
taskConfig
Configuration about the model associated with a flywheel.- Parameters:
taskConfig
- Configuration about the model associated with a flywheel. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlywheel>
- Returns:
- a newly built instance of
CfnFlywheel
.
-