Struct aws_sdk_personalize::model::event_tracker_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EventTrackerSummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn event_tracker_arn(self, input: impl Into<String>) -> Self
pub fn event_tracker_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the event tracker.
sourcepub fn set_event_tracker_arn(self, input: Option<String>) -> Self
pub fn set_event_tracker_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the event tracker.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the event tracker.
An event tracker 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 event tracker.
An event tracker 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 date and time (in Unix time) that the event tracker was created.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The date and time (in Unix time) that the event tracker was created.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The date and time (in Unix time) that the event tracker was last 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
The date and time (in Unix time) that the event tracker was last updated.
sourcepub fn build(self) -> EventTrackerSummary
pub fn build(self) -> EventTrackerSummary
Consumes the builder and constructs a EventTrackerSummary
.