Struct aws_sdk_connect::model::current_metric::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CurrentMetric
.
Implementations§
source§impl Builder
impl Builder
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 build(self) -> CurrentMetric
pub fn build(self) -> CurrentMetric
Consumes the builder and constructs a CurrentMetric
.