public static final class CfnDatasetProps.Builder
extends java.lang.Object
CfnDatasetProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDatasetProps |
build()
Builds the configured instance.
|
CfnDatasetProps.Builder |
datasetGroupArn(java.lang.String datasetGroupArn)
Sets the value of
CfnDatasetProps.getDatasetGroupArn() |
CfnDatasetProps.Builder |
datasetImportJob(CfnDataset.DatasetImportJobProperty datasetImportJob)
Sets the value of
CfnDatasetProps.getDatasetImportJob() |
CfnDatasetProps.Builder |
datasetImportJob(IResolvable datasetImportJob)
Sets the value of
CfnDatasetProps.getDatasetImportJob() |
CfnDatasetProps.Builder |
datasetType(java.lang.String datasetType)
Sets the value of
CfnDatasetProps.getDatasetType() |
CfnDatasetProps.Builder |
name(java.lang.String name)
Sets the value of
CfnDatasetProps.getName() |
CfnDatasetProps.Builder |
schemaArn(java.lang.String schemaArn)
Sets the value of
CfnDatasetProps.getSchemaArn() |
public CfnDatasetProps.Builder datasetGroupArn(java.lang.String datasetGroupArn)
CfnDatasetProps.getDatasetGroupArn()
datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group. This parameter is required.this
public CfnDatasetProps.Builder datasetType(java.lang.String datasetType)
CfnDatasetProps.getDatasetType()
datasetType
- One of the following values:. This parameter is required.
this
public CfnDatasetProps.Builder name(java.lang.String name)
CfnDatasetProps.getName()
name
- The name of the dataset. This parameter is required.this
public CfnDatasetProps.Builder schemaArn(java.lang.String schemaArn)
CfnDatasetProps.getSchemaArn()
schemaArn
- The ARN of the associated schema. This parameter is required.this
public CfnDatasetProps.Builder datasetImportJob(CfnDataset.DatasetImportJobProperty datasetImportJob)
CfnDatasetProps.getDatasetImportJob()
datasetImportJob
- Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.this
public CfnDatasetProps.Builder datasetImportJob(IResolvable datasetImportJob)
CfnDatasetProps.getDatasetImportJob()
datasetImportJob
- Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.this
public CfnDatasetProps build()
CfnDatasetProps
java.lang.NullPointerException
- if any required attribute was not provided