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 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 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<ListCustomMetricsOutputBuilder> for ListCustomMetricsOutputBuilder
impl PartialEq<ListCustomMetricsOutputBuilder> 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 ==
.