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