Struct aws_sdk_connect::operation::get_metric_data_v2::builders::GetMetricDataV2OutputBuilder
source · #[non_exhaustive]pub struct GetMetricDataV2OutputBuilder { /* private fields */ }
Expand description
A builder for GetMetricDataV2Output
.
Implementations§
source§impl GetMetricDataV2OutputBuilder
impl GetMetricDataV2OutputBuilder
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.
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.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If there are additional results, this is the token for the next set of results.
sourcepub fn metric_results(self, input: MetricResultV2) -> Self
pub fn metric_results(self, input: MetricResultV2) -> Self
Appends an item to metric_results
.
To override the contents of this collection use set_metric_results
.
Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
sourcepub fn set_metric_results(self, input: Option<Vec<MetricResultV2>>) -> Self
pub fn set_metric_results(self, input: Option<Vec<MetricResultV2>>) -> Self
Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
sourcepub fn get_metric_results(&self) -> &Option<Vec<MetricResultV2>>
pub fn get_metric_results(&self) -> &Option<Vec<MetricResultV2>>
Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
sourcepub fn build(self) -> GetMetricDataV2Output
pub fn build(self) -> GetMetricDataV2Output
Consumes the builder and constructs a GetMetricDataV2Output
.
Trait Implementations§
source§impl Clone for GetMetricDataV2OutputBuilder
impl Clone for GetMetricDataV2OutputBuilder
source§fn clone(&self) -> GetMetricDataV2OutputBuilder
fn clone(&self) -> GetMetricDataV2OutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetMetricDataV2OutputBuilder
impl Debug for GetMetricDataV2OutputBuilder
source§impl Default for GetMetricDataV2OutputBuilder
impl Default for GetMetricDataV2OutputBuilder
source§fn default() -> GetMetricDataV2OutputBuilder
fn default() -> GetMetricDataV2OutputBuilder
source§impl PartialEq for GetMetricDataV2OutputBuilder
impl PartialEq for GetMetricDataV2OutputBuilder
source§fn eq(&self, other: &GetMetricDataV2OutputBuilder) -> bool
fn eq(&self, other: &GetMetricDataV2OutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.