Struct aws_sdk_connect::operation::get_current_metric_data::builders::GetCurrentMetricDataOutputBuilder
source · #[non_exhaustive]pub struct GetCurrentMetricDataOutputBuilder { /* private fields */ }Expand description
A builder for GetCurrentMetricDataOutput.
Implementations§
source§impl GetCurrentMetricDataOutputBuilder
impl GetCurrentMetricDataOutputBuilder
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 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.
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: CurrentMetricResult) -> Self
pub fn metric_results(self, input: CurrentMetricResult) -> Self
Appends an item to metric_results.
To override the contents of this collection use set_metric_results.
Information about the real-time metrics.
sourcepub fn set_metric_results(self, input: Option<Vec<CurrentMetricResult>>) -> Self
pub fn set_metric_results(self, input: Option<Vec<CurrentMetricResult>>) -> Self
Information about the real-time metrics.
sourcepub fn get_metric_results(&self) -> &Option<Vec<CurrentMetricResult>>
pub fn get_metric_results(&self) -> &Option<Vec<CurrentMetricResult>>
Information about the real-time metrics.
sourcepub fn data_snapshot_time(self, input: DateTime) -> Self
pub fn data_snapshot_time(self, input: DateTime) -> Self
The time at which the metrics were retrieved and cached for pagination.
sourcepub fn set_data_snapshot_time(self, input: Option<DateTime>) -> Self
pub fn set_data_snapshot_time(self, input: Option<DateTime>) -> Self
The time at which the metrics were retrieved and cached for pagination.
sourcepub fn get_data_snapshot_time(&self) -> &Option<DateTime>
pub fn get_data_snapshot_time(&self) -> &Option<DateTime>
The time at which the metrics were retrieved and cached for pagination.
sourcepub fn approximate_total_count(self, input: i64) -> Self
pub fn approximate_total_count(self, input: i64) -> Self
The total count of the result, regardless of the current page size.
sourcepub fn set_approximate_total_count(self, input: Option<i64>) -> Self
pub fn set_approximate_total_count(self, input: Option<i64>) -> Self
The total count of the result, regardless of the current page size.
sourcepub fn get_approximate_total_count(&self) -> &Option<i64>
pub fn get_approximate_total_count(&self) -> &Option<i64>
The total count of the result, regardless of the current page size.
sourcepub fn build(self) -> GetCurrentMetricDataOutput
pub fn build(self) -> GetCurrentMetricDataOutput
Consumes the builder and constructs a GetCurrentMetricDataOutput.
Trait Implementations§
source§impl Clone for GetCurrentMetricDataOutputBuilder
impl Clone for GetCurrentMetricDataOutputBuilder
source§fn clone(&self) -> GetCurrentMetricDataOutputBuilder
fn clone(&self) -> GetCurrentMetricDataOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetCurrentMetricDataOutputBuilder
impl Default for GetCurrentMetricDataOutputBuilder
source§fn default() -> GetCurrentMetricDataOutputBuilder
fn default() -> GetCurrentMetricDataOutputBuilder
source§impl PartialEq for GetCurrentMetricDataOutputBuilder
impl PartialEq for GetCurrentMetricDataOutputBuilder
source§fn eq(&self, other: &GetCurrentMetricDataOutputBuilder) -> bool
fn eq(&self, other: &GetCurrentMetricDataOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetCurrentMetricDataOutputBuilder
Auto Trait Implementations§
impl Freeze for GetCurrentMetricDataOutputBuilder
impl RefUnwindSafe for GetCurrentMetricDataOutputBuilder
impl Send for GetCurrentMetricDataOutputBuilder
impl Sync for GetCurrentMetricDataOutputBuilder
impl Unpin for GetCurrentMetricDataOutputBuilder
impl UnwindSafe for GetCurrentMetricDataOutputBuilder
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> 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