Struct aws_sdk_connect::types::builders::CurrentMetricResultBuilder
source · #[non_exhaustive]pub struct CurrentMetricResultBuilder { /* private fields */ }
Expand description
A builder for CurrentMetricResult
.
Implementations§
source§impl CurrentMetricResultBuilder
impl CurrentMetricResultBuilder
sourcepub fn dimensions(self, input: Dimensions) -> Self
pub fn dimensions(self, input: Dimensions) -> Self
The dimensions for the metrics.
sourcepub fn set_dimensions(self, input: Option<Dimensions>) -> Self
pub fn set_dimensions(self, input: Option<Dimensions>) -> Self
The dimensions for the metrics.
sourcepub fn get_dimensions(&self) -> &Option<Dimensions>
pub fn get_dimensions(&self) -> &Option<Dimensions>
The dimensions for the metrics.
sourcepub fn collections(self, input: CurrentMetricData) -> Self
pub fn collections(self, input: CurrentMetricData) -> Self
Appends an item to collections
.
To override the contents of this collection use set_collections
.
The set of metrics.
sourcepub fn set_collections(self, input: Option<Vec<CurrentMetricData>>) -> Self
pub fn set_collections(self, input: Option<Vec<CurrentMetricData>>) -> Self
The set of metrics.
sourcepub fn get_collections(&self) -> &Option<Vec<CurrentMetricData>>
pub fn get_collections(&self) -> &Option<Vec<CurrentMetricData>>
The set of metrics.
sourcepub fn build(self) -> CurrentMetricResult
pub fn build(self) -> CurrentMetricResult
Consumes the builder and constructs a CurrentMetricResult
.
Trait Implementations§
source§impl Clone for CurrentMetricResultBuilder
impl Clone for CurrentMetricResultBuilder
source§fn clone(&self) -> CurrentMetricResultBuilder
fn clone(&self) -> CurrentMetricResultBuilder
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 CurrentMetricResultBuilder
impl Debug for CurrentMetricResultBuilder
source§impl Default for CurrentMetricResultBuilder
impl Default for CurrentMetricResultBuilder
source§fn default() -> CurrentMetricResultBuilder
fn default() -> CurrentMetricResultBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CurrentMetricResultBuilder
impl PartialEq for CurrentMetricResultBuilder
source§fn eq(&self, other: &CurrentMetricResultBuilder) -> bool
fn eq(&self, other: &CurrentMetricResultBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CurrentMetricResultBuilder
Auto Trait Implementations§
impl Freeze for CurrentMetricResultBuilder
impl RefUnwindSafe for CurrentMetricResultBuilder
impl Send for CurrentMetricResultBuilder
impl Sync for CurrentMetricResultBuilder
impl Unpin for CurrentMetricResultBuilder
impl UnwindSafe for CurrentMetricResultBuilder
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.