Struct aws_sdk_connect::model::historical_metric_result::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for HistoricalMetricResult
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn dimensions(self, input: Dimensions) -> Self
pub fn dimensions(self, input: Dimensions) -> Self
The dimension for the metrics.
sourcepub fn set_dimensions(self, input: Option<Dimensions>) -> Self
pub fn set_dimensions(self, input: Option<Dimensions>) -> Self
The dimension for the metrics.
sourcepub fn collections(self, input: HistoricalMetricData) -> Self
pub fn collections(self, input: HistoricalMetricData) -> 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<HistoricalMetricData>>) -> Self
pub fn set_collections(self, input: Option<Vec<HistoricalMetricData>>) -> Self
The set of metrics.
sourcepub fn build(self) -> HistoricalMetricResult
pub fn build(self) -> HistoricalMetricResult
Consumes the builder and constructs a HistoricalMetricResult
.