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
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.