Struct aws_sdk_rum::types::builders::RumEventBuilder
source · #[non_exhaustive]pub struct RumEventBuilder { /* private fields */ }Expand description
A builder for RumEvent.
Implementations§
source§impl RumEventBuilder
impl RumEventBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
A unique ID for this event.
This field is required.sourcepub fn timestamp(self, input: DateTime) -> Self
pub fn timestamp(self, input: DateTime) -> Self
The exact time that this event occurred.
This field is required.sourcepub fn set_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_timestamp(self, input: Option<DateTime>) -> Self
The exact time that this event occurred.
sourcepub fn get_timestamp(&self) -> &Option<DateTime>
pub fn get_timestamp(&self) -> &Option<DateTime>
The exact time that this event occurred.
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The JSON schema that denotes the type of event this is, such as a page load or a new session.
This field is required.sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The JSON schema that denotes the type of event this is, such as a page load or a new session.
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
The JSON schema that denotes the type of event this is, such as a page load or a new session.
sourcepub fn metadata(self, input: impl Into<String>) -> Self
pub fn metadata(self, input: impl Into<String>) -> Self
Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.
sourcepub fn set_metadata(self, input: Option<String>) -> Self
pub fn set_metadata(self, input: Option<String>) -> Self
Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.
sourcepub fn get_metadata(&self) -> &Option<String>
pub fn get_metadata(&self) -> &Option<String>
Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.
sourcepub fn details(self, input: impl Into<String>) -> Self
pub fn details(self, input: impl Into<String>) -> Self
A string containing details about the event.
This field is required.sourcepub fn set_details(self, input: Option<String>) -> Self
pub fn set_details(self, input: Option<String>) -> Self
A string containing details about the event.
sourcepub fn get_details(&self) -> &Option<String>
pub fn get_details(&self) -> &Option<String>
A string containing details about the event.
Trait Implementations§
source§impl Clone for RumEventBuilder
impl Clone for RumEventBuilder
source§fn clone(&self) -> RumEventBuilder
fn clone(&self) -> RumEventBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RumEventBuilder
impl Debug for RumEventBuilder
source§impl Default for RumEventBuilder
impl Default for RumEventBuilder
source§fn default() -> RumEventBuilder
fn default() -> RumEventBuilder
source§impl PartialEq for RumEventBuilder
impl PartialEq for RumEventBuilder
source§fn eq(&self, other: &RumEventBuilder) -> bool
fn eq(&self, other: &RumEventBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RumEventBuilder
Auto Trait Implementations§
impl Freeze for RumEventBuilder
impl RefUnwindSafe for RumEventBuilder
impl Send for RumEventBuilder
impl Sync for RumEventBuilder
impl Unpin for RumEventBuilder
impl UnwindSafe for RumEventBuilder
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