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 ==.impl StructuralPartialEq for GetMetricDataV2OutputBuilder
Auto Trait Implementations§
impl Freeze for GetMetricDataV2OutputBuilder
impl RefUnwindSafe for GetMetricDataV2OutputBuilder
impl Send for GetMetricDataV2OutputBuilder
impl Sync for GetMetricDataV2OutputBuilder
impl Unpin for GetMetricDataV2OutputBuilder
impl UnwindSafe for GetMetricDataV2OutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more