#[non_exhaustive]pub struct IngestedEventStatisticsBuilder { /* private fields */ }
Expand description
A builder for IngestedEventStatistics
.
Implementations§
source§impl IngestedEventStatisticsBuilder
impl IngestedEventStatisticsBuilder
sourcepub fn number_of_events(self, input: i64) -> Self
pub fn number_of_events(self, input: i64) -> Self
The number of stored events.
sourcepub fn set_number_of_events(self, input: Option<i64>) -> Self
pub fn set_number_of_events(self, input: Option<i64>) -> Self
The number of stored events.
sourcepub fn get_number_of_events(&self) -> &Option<i64>
pub fn get_number_of_events(&self) -> &Option<i64>
The number of stored events.
sourcepub fn event_data_size_in_bytes(self, input: i64) -> Self
pub fn event_data_size_in_bytes(self, input: i64) -> Self
The total size of the stored events.
sourcepub fn set_event_data_size_in_bytes(self, input: Option<i64>) -> Self
pub fn set_event_data_size_in_bytes(self, input: Option<i64>) -> Self
The total size of the stored events.
sourcepub fn get_event_data_size_in_bytes(&self) -> &Option<i64>
pub fn get_event_data_size_in_bytes(&self) -> &Option<i64>
The total size of the stored events.
sourcepub fn least_recent_event(self, input: impl Into<String>) -> Self
pub fn least_recent_event(self, input: impl Into<String>) -> Self
The oldest stored event.
sourcepub fn set_least_recent_event(self, input: Option<String>) -> Self
pub fn set_least_recent_event(self, input: Option<String>) -> Self
The oldest stored event.
sourcepub fn get_least_recent_event(&self) -> &Option<String>
pub fn get_least_recent_event(&self) -> &Option<String>
The oldest stored event.
sourcepub fn most_recent_event(self, input: impl Into<String>) -> Self
pub fn most_recent_event(self, input: impl Into<String>) -> Self
The newest stored event.
sourcepub fn set_most_recent_event(self, input: Option<String>) -> Self
pub fn set_most_recent_event(self, input: Option<String>) -> Self
The newest stored event.
sourcepub fn get_most_recent_event(&self) -> &Option<String>
pub fn get_most_recent_event(&self) -> &Option<String>
The newest stored event.
sourcepub fn last_updated_time(self, input: impl Into<String>) -> Self
pub fn last_updated_time(self, input: impl Into<String>) -> Self
Timestamp of when the stored event was last updated.
sourcepub fn set_last_updated_time(self, input: Option<String>) -> Self
pub fn set_last_updated_time(self, input: Option<String>) -> Self
Timestamp of when the stored event was last updated.
sourcepub fn get_last_updated_time(&self) -> &Option<String>
pub fn get_last_updated_time(&self) -> &Option<String>
Timestamp of when the stored event was last updated.
sourcepub fn build(self) -> IngestedEventStatistics
pub fn build(self) -> IngestedEventStatistics
Consumes the builder and constructs a IngestedEventStatistics
.
Trait Implementations§
source§impl Clone for IngestedEventStatisticsBuilder
impl Clone for IngestedEventStatisticsBuilder
source§fn clone(&self) -> IngestedEventStatisticsBuilder
fn clone(&self) -> IngestedEventStatisticsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for IngestedEventStatisticsBuilder
impl Default for IngestedEventStatisticsBuilder
source§fn default() -> IngestedEventStatisticsBuilder
fn default() -> IngestedEventStatisticsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for IngestedEventStatisticsBuilder
impl PartialEq for IngestedEventStatisticsBuilder
source§fn eq(&self, other: &IngestedEventStatisticsBuilder) -> bool
fn eq(&self, other: &IngestedEventStatisticsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IngestedEventStatisticsBuilder
Auto Trait Implementations§
impl Freeze for IngestedEventStatisticsBuilder
impl RefUnwindSafe for IngestedEventStatisticsBuilder
impl Send for IngestedEventStatisticsBuilder
impl Sync for IngestedEventStatisticsBuilder
impl Unpin for IngestedEventStatisticsBuilder
impl UnwindSafe for IngestedEventStatisticsBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.