Struct aws_sdk_personalize::types::builders::DatasetBuilder
source · #[non_exhaustive]pub struct DatasetBuilder { /* private fields */ }
Expand description
A builder for Dataset
.
Implementations§
source§impl DatasetBuilder
impl DatasetBuilder
sourcepub fn dataset_arn(self, input: impl Into<String>) -> Self
pub fn dataset_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the dataset that you want metadata for.
sourcepub fn set_dataset_arn(self, input: Option<String>) -> Self
pub fn set_dataset_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the dataset that you want metadata for.
sourcepub fn get_dataset_arn(&self) -> &Option<String>
pub fn get_dataset_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the dataset that you want metadata for.
sourcepub fn dataset_group_arn(self, input: impl Into<String>) -> Self
pub fn dataset_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the dataset group.
sourcepub fn set_dataset_group_arn(self, input: Option<String>) -> Self
pub fn set_dataset_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the dataset group.
sourcepub fn get_dataset_group_arn(&self) -> &Option<String>
pub fn get_dataset_group_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the dataset group.
sourcepub fn dataset_type(self, input: impl Into<String>) -> Self
pub fn dataset_type(self, input: impl Into<String>) -> Self
One of the following values:
-
Interactions
-
Items
-
Users
-
Actions
-
Action_Interactions
sourcepub fn set_dataset_type(self, input: Option<String>) -> Self
pub fn set_dataset_type(self, input: Option<String>) -> Self
One of the following values:
-
Interactions
-
Items
-
Users
-
Actions
-
Action_Interactions
sourcepub fn get_dataset_type(&self) -> &Option<String>
pub fn get_dataset_type(&self) -> &Option<String>
One of the following values:
-
Interactions
-
Items
-
Users
-
Actions
-
Action_Interactions
sourcepub fn schema_arn(self, input: impl Into<String>) -> Self
pub fn schema_arn(self, input: impl Into<String>) -> Self
The ARN of the associated schema.
sourcepub fn set_schema_arn(self, input: Option<String>) -> Self
pub fn set_schema_arn(self, input: Option<String>) -> Self
The ARN of the associated schema.
sourcepub fn get_schema_arn(&self) -> &Option<String>
pub fn get_schema_arn(&self) -> &Option<String>
The ARN of the associated schema.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
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
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
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
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
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
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The creation date and time (in Unix time) of the dataset.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The creation date and time (in Unix time) of the dataset.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The creation date and time (in Unix time) of the dataset.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
A time stamp that shows when the dataset was updated.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
A time stamp that shows when the dataset was updated.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
A time stamp that shows when the dataset was updated.
sourcepub fn latest_dataset_update(self, input: DatasetUpdateSummary) -> Self
pub fn latest_dataset_update(self, input: DatasetUpdateSummary) -> Self
Describes the latest update to the dataset.
sourcepub fn set_latest_dataset_update(
self,
input: Option<DatasetUpdateSummary>
) -> Self
pub fn set_latest_dataset_update( self, input: Option<DatasetUpdateSummary> ) -> Self
Describes the latest update to the dataset.
sourcepub fn get_latest_dataset_update(&self) -> &Option<DatasetUpdateSummary>
pub fn get_latest_dataset_update(&self) -> &Option<DatasetUpdateSummary>
Describes the latest update to the dataset.
sourcepub fn tracking_id(self, input: impl Into<String>) -> Self
pub fn tracking_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_tracking_id(self, input: Option<String>) -> Self
pub fn set_tracking_id(self, input: Option<String>) -> Self
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.
sourcepub fn get_tracking_id(&self) -> &Option<String>
pub fn get_tracking_id(&self) -> &Option<String>
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.
Trait Implementations§
source§impl Clone for DatasetBuilder
impl Clone for DatasetBuilder
source§fn clone(&self) -> DatasetBuilder
fn clone(&self) -> DatasetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DatasetBuilder
impl Debug for DatasetBuilder
source§impl Default for DatasetBuilder
impl Default for DatasetBuilder
source§fn default() -> DatasetBuilder
fn default() -> DatasetBuilder
source§impl PartialEq for DatasetBuilder
impl PartialEq for DatasetBuilder
source§fn eq(&self, other: &DatasetBuilder) -> bool
fn eq(&self, other: &DatasetBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.