Interface Dataset.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Dataset.Builder,
,Dataset> SdkBuilder<Dataset.Builder,
,Dataset> SdkPojo
- Enclosing class:
Dataset
-
Method Summary
Modifier and TypeMethodDescriptioncreationDateTime
(Instant creationDateTime) The creation date and time (in Unix time) of the dataset.datasetArn
(String datasetArn) The Amazon Resource Name (ARN) of the dataset that you want metadata for.datasetGroupArn
(String datasetGroupArn) The Amazon Resource Name (ARN) of the dataset group.datasetType
(String datasetType) One of the following values:lastUpdatedDateTime
(Instant lastUpdatedDateTime) A time stamp that shows when the dataset was updated.default Dataset.Builder
latestDatasetUpdate
(Consumer<DatasetUpdateSummary.Builder> latestDatasetUpdate) Describes the latest update to the dataset.latestDatasetUpdate
(DatasetUpdateSummary latestDatasetUpdate) Describes the latest update to the dataset.The name of the dataset.The ARN of the associated schema.The status of the dataset.trackingId
(String trackingId) The ID of the event tracker for an Action interactions dataset.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
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
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 theDatasetUpdateSummary.Builder
avoiding the need to create one manually viaDatasetUpdateSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestDatasetUpdate(DatasetUpdateSummary)
.- Parameters:
latestDatasetUpdate
- a consumer that will call methods onDatasetUpdateSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 thePutActionInteractions
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.
-