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