Struct aws_sdk_cloudwatchlogs::operation::describe_metric_filters::builders::DescribeMetricFiltersOutputBuilder
source · #[non_exhaustive]pub struct DescribeMetricFiltersOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeMetricFiltersOutput
.
Implementations§
source§impl DescribeMetricFiltersOutputBuilder
impl DescribeMetricFiltersOutputBuilder
sourcepub fn metric_filters(self, input: MetricFilter) -> Self
pub fn metric_filters(self, input: MetricFilter) -> Self
Appends an item to metric_filters
.
To override the contents of this collection use set_metric_filters
.
The metric filters.
sourcepub fn set_metric_filters(self, input: Option<Vec<MetricFilter>>) -> Self
pub fn set_metric_filters(self, input: Option<Vec<MetricFilter>>) -> Self
The metric filters.
sourcepub fn get_metric_filters(&self) -> &Option<Vec<MetricFilter>>
pub fn get_metric_filters(&self) -> &Option<Vec<MetricFilter>>
The metric filters.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of items to return. The token expires after 24 hours.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of items to return. The token expires after 24 hours.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of items to return. The token expires after 24 hours.
sourcepub fn build(self) -> DescribeMetricFiltersOutput
pub fn build(self) -> DescribeMetricFiltersOutput
Consumes the builder and constructs a DescribeMetricFiltersOutput
.
Trait Implementations§
source§impl Clone for DescribeMetricFiltersOutputBuilder
impl Clone for DescribeMetricFiltersOutputBuilder
source§fn clone(&self) -> DescribeMetricFiltersOutputBuilder
fn clone(&self) -> DescribeMetricFiltersOutputBuilder
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 DescribeMetricFiltersOutputBuilder
impl Default for DescribeMetricFiltersOutputBuilder
source§fn default() -> DescribeMetricFiltersOutputBuilder
fn default() -> DescribeMetricFiltersOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeMetricFiltersOutputBuilder
impl PartialEq for DescribeMetricFiltersOutputBuilder
source§fn eq(&self, other: &DescribeMetricFiltersOutputBuilder) -> bool
fn eq(&self, other: &DescribeMetricFiltersOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeMetricFiltersOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeMetricFiltersOutputBuilder
impl RefUnwindSafe for DescribeMetricFiltersOutputBuilder
impl Send for DescribeMetricFiltersOutputBuilder
impl Sync for DescribeMetricFiltersOutputBuilder
impl Unpin for DescribeMetricFiltersOutputBuilder
impl UnwindSafe for DescribeMetricFiltersOutputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.