Interface Dataset.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Dataset.Builder,Dataset>, SdkBuilder<Dataset.Builder,Dataset>, SdkPojo
Enclosing class:
Dataset

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

    • name

      Dataset.Builder name(String name)

      The name of the dataset.

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

      Dataset.Builder datasetArn(String datasetArn)

      The Amazon Resource Name (ARN) of the dataset that you want metadata for.

      Parameters:
      datasetArn - The Amazon Resource Name (ARN) of the dataset that you want metadata for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetGroupArn

      Dataset.Builder datasetGroupArn(String datasetGroupArn)

      The Amazon Resource Name (ARN) of the dataset group.

      Parameters:
      datasetGroupArn - The Amazon Resource Name (ARN) of the dataset group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetType

      Dataset.Builder datasetType(String datasetType)

      One of the following values:

      • Interactions

      • Items

      • Users

      • Actions

      • Action_Interactions

      Parameters:
      datasetType - One of the following values:

      • Interactions

      • Items

      • Users

      • Actions

      • Action_Interactions

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schemaArn

      Dataset.Builder schemaArn(String schemaArn)

      The ARN of the associated schema.

      Parameters:
      schemaArn - The ARN of the associated schema.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Dataset.Builder status(String status)

      The status of the dataset.

      A dataset can be in one of the following states:

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

      • DELETE PENDING > DELETE IN_PROGRESS

      Parameters:
      status - The status of the dataset.

      A dataset can be in one of the following states:

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

      • DELETE PENDING > DELETE IN_PROGRESS

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDateTime

      Dataset.Builder creationDateTime(Instant creationDateTime)

      The creation date and time (in Unix time) of the dataset.

      Parameters:
      creationDateTime - The creation date and time (in Unix time) of the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedDateTime

      Dataset.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)

      A time stamp that shows when the dataset was updated.

      Parameters:
      lastUpdatedDateTime - A time stamp that shows when the dataset was updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestDatasetUpdate

      Dataset.Builder latestDatasetUpdate(DatasetUpdateSummary latestDatasetUpdate)

      Describes the latest update to the dataset.

      Parameters:
      latestDatasetUpdate - Describes the latest update to the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestDatasetUpdate

      default Dataset.Builder latestDatasetUpdate(Consumer<DatasetUpdateSummary.Builder> latestDatasetUpdate)

      Describes the latest update to the dataset.

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

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

      Parameters:
      latestDatasetUpdate - a consumer that will call methods on DatasetUpdateSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • trackingId

      Dataset.Builder trackingId(String trackingId)

      The ID of the event tracker for an Action interactions dataset. You specify the tracker's ID in the PutActionInteractions API operation. Amazon Personalize uses it to direct new data to the Action interactions dataset in your dataset group.

      Parameters:
      trackingId - The ID of the event tracker for an Action interactions dataset. You specify the tracker's ID in the PutActionInteractions API operation. Amazon Personalize uses it to direct new data to the Action interactions dataset in your dataset group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.