Struct aws_sdk_s3::types::builders::StatsEventBuilder
source · #[non_exhaustive]pub struct StatsEventBuilder { /* private fields */ }
Expand description
A builder for StatsEvent
.
Implementations§
source§impl StatsEventBuilder
impl StatsEventBuilder
sourcepub fn set_details(self, input: Option<Stats>) -> Self
pub fn set_details(self, input: Option<Stats>) -> Self
The Stats event details.
sourcepub fn get_details(&self) -> &Option<Stats>
pub fn get_details(&self) -> &Option<Stats>
The Stats event details.
sourcepub fn build(self) -> StatsEvent
pub fn build(self) -> StatsEvent
Consumes the builder and constructs a StatsEvent
.
Trait Implementations§
source§impl Clone for StatsEventBuilder
impl Clone for StatsEventBuilder
source§fn clone(&self) -> StatsEventBuilder
fn clone(&self) -> StatsEventBuilder
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 Debug for StatsEventBuilder
impl Debug for StatsEventBuilder
source§impl Default for StatsEventBuilder
impl Default for StatsEventBuilder
source§fn default() -> StatsEventBuilder
fn default() -> StatsEventBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StatsEventBuilder
impl PartialEq for StatsEventBuilder
source§fn eq(&self, other: &StatsEventBuilder) -> bool
fn eq(&self, other: &StatsEventBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StatsEventBuilder
Auto Trait Implementations§
impl RefUnwindSafe for StatsEventBuilder
impl Send for StatsEventBuilder
impl Sync for StatsEventBuilder
impl Unpin for StatsEventBuilder
impl UnwindSafe for StatsEventBuilder
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.