Class CfnDataset.Builder
java.lang.Object
software.amazon.awscdk.services.personalize.CfnDataset.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset>
- Enclosing class:
- CfnDataset
@Stability(Stable)
public static final class CfnDataset.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset>
A fluent builder for
CfnDataset.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnDataset.BuilderdatasetGroupArn(String datasetGroupArn) The Amazon Resource Name (ARN) of the dataset group.datasetImportJob(IResolvable datasetImportJob) Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.datasetImportJob(CfnDataset.DatasetImportJobProperty datasetImportJob) Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.datasetType(String datasetType) One of the following values:.The name of the dataset.The ARN of the associated schema.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnDataset.Builder.
-
datasetGroupArn
The Amazon Resource Name (ARN) of the dataset group.- Parameters:
datasetGroupArn- The Amazon Resource Name (ARN) of the dataset group. This parameter is required.- Returns:
this
-
datasetType
One of the following values:.- Interactions
- Items
- Users
- Parameters:
datasetType- One of the following values:. This parameter is required.- Returns:
this
-
name
The name of the dataset.- Parameters:
name- The name of the dataset. This parameter is required.- Returns:
this
-
schemaArn
The ARN of the associated schema.- Parameters:
schemaArn- The ARN of the associated schema. This parameter is required.- Returns:
this
-
datasetImportJob
@Stability(Stable) public CfnDataset.Builder datasetImportJob(CfnDataset.DatasetImportJobProperty datasetImportJob) Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.- Parameters:
datasetImportJob- Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset. This parameter is required.- Returns:
this
-
datasetImportJob
Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.- Parameters:
datasetImportJob- Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataset>- Returns:
- a newly built instance of
CfnDataset.
-