Struct aws_sdk_iot::operation::list_custom_metrics::builders::ListCustomMetricsOutputBuilder
source · #[non_exhaustive]pub struct ListCustomMetricsOutputBuilder { /* private fields */ }
Expand description
A builder for ListCustomMetricsOutput
.
Implementations§
source§impl ListCustomMetricsOutputBuilder
impl ListCustomMetricsOutputBuilder
sourcepub fn metric_names(self, input: impl Into<String>) -> Self
pub fn metric_names(self, input: impl Into<String>) -> Self
Appends an item to metric_names
.
To override the contents of this collection use set_metric_names
.
The name of the custom metric.
sourcepub fn set_metric_names(self, input: Option<Vec<String>>) -> Self
pub fn set_metric_names(self, input: Option<Vec<String>>) -> Self
The name of the custom metric.
sourcepub fn get_metric_names(&self) -> &Option<Vec<String>>
pub fn get_metric_names(&self) -> &Option<Vec<String>>
The name of the custom metric.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that can be used to retrieve the next set of results, or null
if there are no additional results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that can be used to retrieve the next set of results, or null
if there are no additional results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token that can be used to retrieve the next set of results, or null
if there are no additional results.
sourcepub fn build(self) -> ListCustomMetricsOutput
pub fn build(self) -> ListCustomMetricsOutput
Consumes the builder and constructs a ListCustomMetricsOutput
.
Trait Implementations§
source§impl Clone for ListCustomMetricsOutputBuilder
impl Clone for ListCustomMetricsOutputBuilder
source§fn clone(&self) -> ListCustomMetricsOutputBuilder
fn clone(&self) -> ListCustomMetricsOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ListCustomMetricsOutputBuilder
impl Default for ListCustomMetricsOutputBuilder
source§fn default() -> ListCustomMetricsOutputBuilder
fn default() -> ListCustomMetricsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListCustomMetricsOutputBuilder
impl PartialEq for ListCustomMetricsOutputBuilder
source§fn eq(&self, other: &ListCustomMetricsOutputBuilder) -> bool
fn eq(&self, other: &ListCustomMetricsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListCustomMetricsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListCustomMetricsOutputBuilder
impl Send for ListCustomMetricsOutputBuilder
impl Sync for ListCustomMetricsOutputBuilder
impl Unpin for ListCustomMetricsOutputBuilder
impl UnwindSafe for ListCustomMetricsOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.