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.

For more information, see CreateDatasetImportJob .

A dataset import job can be in one of the following states:

  • CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

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();
 
  • Method Details

    • getDatasetArn

      @Stability(Stable) @Nullable default String getDatasetArn()
      The Amazon Resource Name (ARN) of the dataset that receives the imported data.
    • getDatasetImportJobArn

      @Stability(Stable) @Nullable default String getDatasetImportJobArn()
      The ARN of the dataset import job.
    • getDataSource

      @Stability(Stable) @Nullable default Object getDataSource()
      The Amazon S3 bucket that contains the training data to import.
    • getJobName

      @Stability(Stable) @Nullable default String getJobName()
      The name of the import job.
    • getRoleArn

      @Stability(Stable) @Nullable default String getRoleArn()
      The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
    • builder

      @Stability(Stable) static CfnDataset.DatasetImportJobProperty.Builder builder()
      Returns:
      a CfnDataset.DatasetImportJobProperty.Builder of CfnDataset.DatasetImportJobProperty