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.Builder
datasetGroupArn
(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
@Stability(Stable) public static CfnDataset.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
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
- See Also:
-
datasetType
One of the following values:.- Interactions
- Items
- Users
You can't use CloudFormation to create an Action Interactions or Actions dataset.
- Parameters:
datasetType
- One of the following values:. This parameter is required.- Returns:
this
- See Also:
-
name
The name of the dataset.- Parameters:
name
- The name of the dataset. This parameter is required.- Returns:
this
- See Also:
-
schemaArn
The ARN of the associated schema.- Parameters:
schemaArn
- The ARN of the associated schema. This parameter is required.- Returns:
this
- See Also:
-
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.
- 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
- See Also:
-
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.If you specify a dataset import job as part of a dataset, all dataset import job fields are required.
- 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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataset>
- Returns:
- a newly built instance of
CfnDataset
.
-