Struct aws_sdk_sesv2::types::builders::MetricDataResultBuilder
source · #[non_exhaustive]pub struct MetricDataResultBuilder { /* private fields */ }Expand description
A builder for MetricDataResult.
Implementations§
source§impl MetricDataResultBuilder
impl MetricDataResultBuilder
sourcepub fn timestamps(self, input: DateTime) -> Self
pub fn timestamps(self, input: DateTime) -> Self
Appends an item to timestamps.
To override the contents of this collection use set_timestamps.
A list of timestamps for the metric data results.
sourcepub fn set_timestamps(self, input: Option<Vec<DateTime>>) -> Self
pub fn set_timestamps(self, input: Option<Vec<DateTime>>) -> Self
A list of timestamps for the metric data results.
sourcepub fn get_timestamps(&self) -> &Option<Vec<DateTime>>
pub fn get_timestamps(&self) -> &Option<Vec<DateTime>>
A list of timestamps for the metric data results.
sourcepub fn values(self, input: i64) -> Self
pub fn values(self, input: i64) -> Self
Appends an item to values.
To override the contents of this collection use set_values.
A list of values (cumulative / sum) for the metric data results.
sourcepub fn set_values(self, input: Option<Vec<i64>>) -> Self
pub fn set_values(self, input: Option<Vec<i64>>) -> Self
A list of values (cumulative / sum) for the metric data results.
sourcepub fn get_values(&self) -> &Option<Vec<i64>>
pub fn get_values(&self) -> &Option<Vec<i64>>
A list of values (cumulative / sum) for the metric data results.
sourcepub fn build(self) -> MetricDataResult
pub fn build(self) -> MetricDataResult
Consumes the builder and constructs a MetricDataResult.
Trait Implementations§
source§impl Clone for MetricDataResultBuilder
impl Clone for MetricDataResultBuilder
source§fn clone(&self) -> MetricDataResultBuilder
fn clone(&self) -> MetricDataResultBuilder
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 MetricDataResultBuilder
impl Debug for MetricDataResultBuilder
source§impl Default for MetricDataResultBuilder
impl Default for MetricDataResultBuilder
source§fn default() -> MetricDataResultBuilder
fn default() -> MetricDataResultBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MetricDataResultBuilder
impl PartialEq for MetricDataResultBuilder
source§fn eq(&self, other: &MetricDataResultBuilder) -> bool
fn eq(&self, other: &MetricDataResultBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MetricDataResultBuilder
Auto Trait Implementations§
impl RefUnwindSafe for MetricDataResultBuilder
impl Send for MetricDataResultBuilder
impl Sync for MetricDataResultBuilder
impl Unpin for MetricDataResultBuilder
impl UnwindSafe for MetricDataResultBuilder
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.