Struct aws_sdk_computeoptimizer::types::builders::EbsFilterBuilder
source · #[non_exhaustive]pub struct EbsFilterBuilder { /* private fields */ }
Expand description
A builder for EbsFilter
.
Implementations§
source§impl EbsFilterBuilder
impl EbsFilterBuilder
sourcepub fn name(self, input: EbsFilterName) -> Self
pub fn name(self, input: EbsFilterName) -> Self
The name of the filter.
Specify Finding
to return recommendations with a specific finding classification (for example, NotOptimized
).
You can filter your Amazon EBS volume recommendations by tag:key
and tag-key
tags.
A tag:key
is a key and value combination of a tag assigned to your Amazon EBS volume recommendations. Use the tag key in the filter name and the tag value as the filter value. For example, to find all Amazon EBS volume recommendations that have a tag with the key of Owner
and the value of TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
A tag-key
is the key of a tag assigned to your Amazon EBS volume recommendations. Use this filter to find all of your Amazon EBS volume recommendations that have a tag with a specific key. This doesn’t consider the tag value. For example, you can find your Amazon EBS volume recommendations with a tag key value of Owner
or without any tag keys assigned.
sourcepub fn set_name(self, input: Option<EbsFilterName>) -> Self
pub fn set_name(self, input: Option<EbsFilterName>) -> Self
The name of the filter.
Specify Finding
to return recommendations with a specific finding classification (for example, NotOptimized
).
You can filter your Amazon EBS volume recommendations by tag:key
and tag-key
tags.
A tag:key
is a key and value combination of a tag assigned to your Amazon EBS volume recommendations. Use the tag key in the filter name and the tag value as the filter value. For example, to find all Amazon EBS volume recommendations that have a tag with the key of Owner
and the value of TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
A tag-key
is the key of a tag assigned to your Amazon EBS volume recommendations. Use this filter to find all of your Amazon EBS volume recommendations that have a tag with a specific key. This doesn’t consider the tag value. For example, you can find your Amazon EBS volume recommendations with a tag key value of Owner
or without any tag keys assigned.
sourcepub fn get_name(&self) -> &Option<EbsFilterName>
pub fn get_name(&self) -> &Option<EbsFilterName>
The name of the filter.
Specify Finding
to return recommendations with a specific finding classification (for example, NotOptimized
).
You can filter your Amazon EBS volume recommendations by tag:key
and tag-key
tags.
A tag:key
is a key and value combination of a tag assigned to your Amazon EBS volume recommendations. Use the tag key in the filter name and the tag value as the filter value. For example, to find all Amazon EBS volume recommendations that have a tag with the key of Owner
and the value of TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
A tag-key
is the key of a tag assigned to your Amazon EBS volume recommendations. Use this filter to find all of your Amazon EBS volume recommendations that have a tag with a specific key. This doesn’t consider the tag value. For example, you can find your Amazon EBS volume recommendations with a tag key value of Owner
or without any tag keys assigned.
sourcepub fn values(self, input: impl Into<String>) -> Self
pub fn values(self, input: impl Into<String>) -> Self
Appends an item to values
.
To override the contents of this collection use set_values
.
The value of the filter.
The valid values are Optimized
, or NotOptimized
.
sourcepub fn set_values(self, input: Option<Vec<String>>) -> Self
pub fn set_values(self, input: Option<Vec<String>>) -> Self
The value of the filter.
The valid values are Optimized
, or NotOptimized
.
sourcepub fn get_values(&self) -> &Option<Vec<String>>
pub fn get_values(&self) -> &Option<Vec<String>>
The value of the filter.
The valid values are Optimized
, or NotOptimized
.
Trait Implementations§
source§impl Clone for EbsFilterBuilder
impl Clone for EbsFilterBuilder
source§fn clone(&self) -> EbsFilterBuilder
fn clone(&self) -> EbsFilterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EbsFilterBuilder
impl Debug for EbsFilterBuilder
source§impl Default for EbsFilterBuilder
impl Default for EbsFilterBuilder
source§fn default() -> EbsFilterBuilder
fn default() -> EbsFilterBuilder
source§impl PartialEq for EbsFilterBuilder
impl PartialEq for EbsFilterBuilder
source§fn eq(&self, other: &EbsFilterBuilder) -> bool
fn eq(&self, other: &EbsFilterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EbsFilterBuilder
Auto Trait Implementations§
impl Freeze for EbsFilterBuilder
impl RefUnwindSafe for EbsFilterBuilder
impl Send for EbsFilterBuilder
impl Sync for EbsFilterBuilder
impl Unpin for EbsFilterBuilder
impl UnwindSafe for EbsFilterBuilder
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