Interface CreateDatasetImportJobRequest.Builder

    • Method Detail

      • jobName

        CreateDatasetImportJobRequest.Builder jobName​(String jobName)

        The name for the dataset import job.

        Parameters:
        jobName - The name for the dataset import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • datasetArn

        CreateDatasetImportJobRequest.Builder datasetArn​(String datasetArn)

        The ARN of the dataset that receives the imported data.

        Parameters:
        datasetArn - The ARN of the dataset that receives the imported data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSource

        CreateDatasetImportJobRequest.Builder dataSource​(DataSource dataSource)

        The Amazon S3 bucket that contains the training data to import.

        Parameters:
        dataSource - The Amazon S3 bucket that contains the training data to import.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        CreateDatasetImportJobRequest.Builder roleArn​(String roleArn)

        The ARN of the IAM role that has permissions to read from the Amazon S3 data source.

        Parameters:
        roleArn - The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateDatasetImportJobRequest.Builder tags​(Tag... tags)

        A list of tags to apply to the dataset import job.

        Parameters:
        tags - A list of tags to apply to the dataset import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • importMode

        CreateDatasetImportJobRequest.Builder importMode​(String importMode)

        Specify how to add the new records to an existing dataset. The default import mode is FULL. If you haven't imported bulk records into the dataset previously, you can only specify FULL.

        • Specify FULL to overwrite all existing bulk data in your dataset. Data you imported individually is not replaced.

        • Specify INCREMENTAL to append the new records to the existing data in your dataset. Amazon Personalize replaces any record with the same ID with the new one.

        Parameters:
        importMode - Specify how to add the new records to an existing dataset. The default import mode is FULL. If you haven't imported bulk records into the dataset previously, you can only specify FULL.

        • Specify FULL to overwrite all existing bulk data in your dataset. Data you imported individually is not replaced.

        • Specify INCREMENTAL to append the new records to the existing data in your dataset. Amazon Personalize replaces any record with the same ID with the new one.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImportMode, ImportMode
      • importMode

        CreateDatasetImportJobRequest.Builder importMode​(ImportMode importMode)

        Specify how to add the new records to an existing dataset. The default import mode is FULL. If you haven't imported bulk records into the dataset previously, you can only specify FULL.

        • Specify FULL to overwrite all existing bulk data in your dataset. Data you imported individually is not replaced.

        • Specify INCREMENTAL to append the new records to the existing data in your dataset. Amazon Personalize replaces any record with the same ID with the new one.

        Parameters:
        importMode - Specify how to add the new records to an existing dataset. The default import mode is FULL. If you haven't imported bulk records into the dataset previously, you can only specify FULL.

        • Specify FULL to overwrite all existing bulk data in your dataset. Data you imported individually is not replaced.

        • Specify INCREMENTAL to append the new records to the existing data in your dataset. Amazon Personalize replaces any record with the same ID with the new one.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImportMode, ImportMode
      • publishAttributionMetricsToS3

        CreateDatasetImportJobRequest.Builder publishAttributionMetricsToS3​(Boolean publishAttributionMetricsToS3)

        If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3

        Parameters:
        publishAttributionMetricsToS3 - If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3
        Returns:
        Returns a reference to this object so that method calls can be chained together.