#[non_exhaustive]pub struct GetMetricDataOutputBuilder { /* private fields */ }
Expand description
A builder for GetMetricDataOutput
.
Implementations§
source§impl GetMetricDataOutputBuilder
impl GetMetricDataOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If there are additional results, this is the token for the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If there are additional results, this is the token for the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
sourcepub fn metric_results(self, input: HistoricalMetricResult) -> Self
pub fn metric_results(self, input: HistoricalMetricResult) -> Self
Appends an item to metric_results
.
To override the contents of this collection use set_metric_results
.
Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
sourcepub fn set_metric_results(
self,
input: Option<Vec<HistoricalMetricResult>>
) -> Self
pub fn set_metric_results( self, input: Option<Vec<HistoricalMetricResult>> ) -> Self
Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
sourcepub fn build(self) -> GetMetricDataOutput
pub fn build(self) -> GetMetricDataOutput
Consumes the builder and constructs a GetMetricDataOutput
.
Trait Implementations§
source§impl Clone for GetMetricDataOutputBuilder
impl Clone for GetMetricDataOutputBuilder
source§fn clone(&self) -> GetMetricDataOutputBuilder
fn clone(&self) -> GetMetricDataOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetMetricDataOutputBuilder
impl Debug for GetMetricDataOutputBuilder
source§impl Default for GetMetricDataOutputBuilder
impl Default for GetMetricDataOutputBuilder
source§fn default() -> GetMetricDataOutputBuilder
fn default() -> GetMetricDataOutputBuilder
source§impl PartialEq<GetMetricDataOutputBuilder> for GetMetricDataOutputBuilder
impl PartialEq<GetMetricDataOutputBuilder> for GetMetricDataOutputBuilder
source§fn eq(&self, other: &GetMetricDataOutputBuilder) -> bool
fn eq(&self, other: &GetMetricDataOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.