Class CfnDatasetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.personalize.CfnDatasetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetMixinProps>
- Enclosing interface:
CfnDatasetMixinProps
@Stability(Stable)
public static final class CfnDatasetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetMixinProps>
A builder for
CfnDatasetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.datasetGroupArn(String datasetGroupArn) Sets the value ofCfnDatasetMixinProps.getDatasetGroupArn()datasetImportJob(CfnDatasetPropsMixin.DatasetImportJobProperty datasetImportJob) Sets the value ofCfnDatasetMixinProps.getDatasetImportJob()datasetImportJob(IResolvable datasetImportJob) Sets the value ofCfnDatasetMixinProps.getDatasetImportJob()datasetType(String datasetType) Sets the value ofCfnDatasetMixinProps.getDatasetType()Sets the value ofCfnDatasetMixinProps.getName()Sets the value ofCfnDatasetMixinProps.getSchemaArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datasetGroupArn
Sets the value ofCfnDatasetMixinProps.getDatasetGroupArn()- Parameters:
datasetGroupArn- The Amazon Resource Name (ARN) of the dataset group.- Returns:
this
-
datasetImportJob
@Stability(Stable) public CfnDatasetMixinProps.Builder datasetImportJob(IResolvable datasetImportJob) Sets the value ofCfnDatasetMixinProps.getDatasetImportJob()- Parameters:
datasetImportJob- Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset. If you specify a dataset import job as part of a dataset, all dataset import job fields are required.- Returns:
this
-
datasetImportJob
@Stability(Stable) public CfnDatasetMixinProps.Builder datasetImportJob(CfnDatasetPropsMixin.DatasetImportJobProperty datasetImportJob) Sets the value ofCfnDatasetMixinProps.getDatasetImportJob()- Parameters:
datasetImportJob- Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset. If you specify a dataset import job as part of a dataset, all dataset import job fields are required.- Returns:
this
-
datasetType
Sets the value ofCfnDatasetMixinProps.getDatasetType()- Parameters:
datasetType- One of the following values:.- Interactions
- Items
- Users
You can't use CloudFormation to create an Action Interactions or Actions dataset.
- Returns:
this
-
name
Sets the value ofCfnDatasetMixinProps.getName()- Parameters:
name- The name of the dataset.- Returns:
this
-
schemaArn
Sets the value ofCfnDatasetMixinProps.getSchemaArn()- Parameters:
schemaArn- The ARN of the associated schema.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetMixinProps>- Returns:
- a new instance of
CfnDatasetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-