Interface CreateDatasetImportJobRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateDatasetImportJobRequest.Builder,CreateDatasetImportJobRequest>, PersonalizeRequest.Builder, SdkBuilder<CreateDatasetImportJobRequest.Builder,CreateDatasetImportJobRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateDatasetImportJobRequest

public static interface CreateDatasetImportJobRequest.Builder extends PersonalizeRequest.Builder, SdkPojo, CopyableBuilder<CreateDatasetImportJobRequest.Builder,CreateDatasetImportJobRequest>
  • Method Details

    • 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

      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

      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.
    • dataSource

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

      This is a convenience method that creates an instance of the DataSource.Builder avoiding the need to create one manually via DataSource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataSource(DataSource).

      Parameters:
      dataSource - a consumer that will call methods on DataSource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.
    • 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.
    • tags

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

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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.
    • overrideConfiguration

      CreateDatasetImportJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.