#[non_exhaustive]pub struct HistoricalMetricResultBuilder { /* private fields */ }
Expand description
A builder for HistoricalMetricResult
.
Implementations§
source§impl HistoricalMetricResultBuilder
impl HistoricalMetricResultBuilder
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
.
Trait Implementations§
source§impl Clone for HistoricalMetricResultBuilder
impl Clone for HistoricalMetricResultBuilder
source§fn clone(&self) -> HistoricalMetricResultBuilder
fn clone(&self) -> HistoricalMetricResultBuilder
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 Default for HistoricalMetricResultBuilder
impl Default for HistoricalMetricResultBuilder
source§fn default() -> HistoricalMetricResultBuilder
fn default() -> HistoricalMetricResultBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<HistoricalMetricResultBuilder> for HistoricalMetricResultBuilder
impl PartialEq<HistoricalMetricResultBuilder> for HistoricalMetricResultBuilder
source§fn eq(&self, other: &HistoricalMetricResultBuilder) -> bool
fn eq(&self, other: &HistoricalMetricResultBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.