Struct aws_sdk_personalize::types::builders::EventTrackerBuilder
source · #[non_exhaustive]pub struct EventTrackerBuilder { /* private fields */ }Expand description
A builder for EventTracker.
Implementations§
source§impl EventTrackerBuilder
impl EventTrackerBuilder
sourcepub fn event_tracker_arn(self, input: impl Into<String>) -> Self
pub fn event_tracker_arn(self, input: impl Into<String>) -> Self
The 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 ARN of the event tracker.
sourcepub fn get_event_tracker_arn(&self) -> &Option<String>
pub fn get_event_tracker_arn(&self) -> &Option<String>
The ARN of the event tracker.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account that owns the event tracker.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account that owns the event tracker.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Web Services account that owns the event tracker.
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. Include this ID in requests to the PutEvents API.
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. Include this ID in requests to the PutEvents API.
sourcepub fn get_tracking_id(&self) -> &Option<String>
pub fn get_tracking_id(&self) -> &Option<String>
The ID of the event tracker. Include this ID in requests to the PutEvents API.
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 that receives the event data.
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 that receives the event data.
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 that receives the event data.
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 get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
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 format) 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 format) that the event tracker was created.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The date and time (in Unix format) 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 get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
The date and time (in Unix time) that the event tracker was last updated.
sourcepub fn build(self) -> EventTracker
pub fn build(self) -> EventTracker
Consumes the builder and constructs a EventTracker.
Trait Implementations§
source§impl Clone for EventTrackerBuilder
impl Clone for EventTrackerBuilder
source§fn clone(&self) -> EventTrackerBuilder
fn clone(&self) -> EventTrackerBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EventTrackerBuilder
impl Debug for EventTrackerBuilder
source§impl Default for EventTrackerBuilder
impl Default for EventTrackerBuilder
source§fn default() -> EventTrackerBuilder
fn default() -> EventTrackerBuilder
source§impl PartialEq for EventTrackerBuilder
impl PartialEq for EventTrackerBuilder
source§fn eq(&self, other: &EventTrackerBuilder) -> bool
fn eq(&self, other: &EventTrackerBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EventTrackerBuilder
Auto Trait Implementations§
impl Freeze for EventTrackerBuilder
impl RefUnwindSafe for EventTrackerBuilder
impl Send for EventTrackerBuilder
impl Sync for EventTrackerBuilder
impl Unpin for EventTrackerBuilder
impl UnwindSafe for EventTrackerBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more