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