Class CfnDatasetPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.rekognition.CfnDatasetPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetPropsMixin>
- Enclosing class:
CfnDatasetPropsMixin
@Stability(Stable)
public static final class CfnDatasetPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetPropsMixin>
A fluent builder for
CfnDatasetPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnDatasetPropsMixin.Buildercreate()static CfnDatasetPropsMixin.Buildercreate(CfnPropertyMixinOptions options) datasetType(String datasetType) The type of the dataset.projectArn(String projectArn) The ARN of the project to which the dataset belongs.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnDatasetPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDatasetPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDatasetPropsMixin.Builder.
-
datasetType
The type of the dataset.Specify TRAIN to create a training dataset. Specify TEST to create a test dataset.
- Parameters:
datasetType- The type of the dataset. This parameter is required.- Returns:
this- See Also:
-
projectArn
The ARN of the project to which the dataset belongs.- Parameters:
projectArn- The ARN of the project to which the dataset belongs. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetPropsMixin>- Returns:
- a newly built instance of
CfnDatasetPropsMixin.
-