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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Dataset.BuildercreationDateTime(Instant creationDateTime)The creation date and time (in Unix time) of the dataset.Dataset.BuilderdatasetArn(String datasetArn)The Amazon Resource Name (ARN) of the dataset that you want metadata for.Dataset.BuilderdatasetGroupArn(String datasetGroupArn)The Amazon Resource Name (ARN) of the dataset group.Dataset.BuilderdatasetType(String datasetType)One of the following values:Dataset.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)A time stamp that shows when the dataset was updated.default Dataset.BuilderlatestDatasetUpdate(Consumer<DatasetUpdateSummary.Builder> latestDatasetUpdate)Describes the latest update to the dataset.Dataset.BuilderlatestDatasetUpdate(DatasetUpdateSummary latestDatasetUpdate)Describes the latest update to the dataset.Dataset.Buildername(String name)The name of the dataset.Dataset.BuilderschemaArn(String schemaArn)The ARN of the associated schema.Dataset.Builderstatus(String status)The status of the dataset.Dataset.BuildertrackingId(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 Detail
-
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 theDatasetUpdateSummary.Builderavoiding the need to create one manually viaDatasetUpdateSummary.builder().When the
Consumercompletes,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:
latestDatasetUpdate(DatasetUpdateSummary)
-
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
PutActionInteractionsAPI 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 thePutActionInteractionsAPI 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.
-
-