Struct aws_sdk_connect::output::get_metric_data_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetMetricDataOutput
.
Implementations§
source§impl Builder
impl Builder
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
.