Interface CfnDataset.DatasetImportJobProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataset.DatasetImportJobProperty.Jsii$Proxy
- Enclosing class:
CfnDataset
@Stability(Stable)
public static interface CfnDataset.DatasetImportJobProperty
extends software.amazon.jsii.JsiiSerializable
Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.
A dataset import job can be in one of the following states:
- CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
If you specify a dataset import job as part of a dataset, all dataset import job fields are required.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.personalize.*;
Object dataSource;
DatasetImportJobProperty datasetImportJobProperty = DatasetImportJobProperty.builder()
.datasetArn("datasetArn")
.datasetImportJobArn("datasetImportJobArn")
.dataSource(dataSource)
.jobName("jobName")
.roleArn("roleArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataset.DatasetImportJobPropertystatic final classAn implementation forCfnDataset.DatasetImportJobProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe Amazon Resource Name (ARN) of the dataset that receives the imported data.default StringThe ARN of the dataset import job.default ObjectThe Amazon S3 bucket that contains the training data to import.default StringThe name of the import job.default StringThe ARN of the IAM role that has permissions to read from the Amazon S3 data source.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDatasetArn
The Amazon Resource Name (ARN) of the dataset that receives the imported data.- See Also:
-
getDatasetImportJobArn
The ARN of the dataset import job.- See Also:
-
getDataSource
The Amazon S3 bucket that contains the training data to import.- See Also:
-
getJobName
The name of the import job.- See Also:
-
getRoleArn
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.- See Also:
-
builder
-