Struct aws_sdk_applicationdiscovery::types::builders::FilterBuilder
source · #[non_exhaustive]pub struct FilterBuilder { /* private fields */ }
Expand description
A builder for Filter
.
Implementations§
source§impl FilterBuilder
impl FilterBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the filter.
This field is required.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
.
A string value on which to filter. For example, if you choose the destinationServer.osVersion
filter name, you could specify Ubuntu
for the value.
sourcepub fn set_values(self, input: Option<Vec<String>>) -> Self
pub fn set_values(self, input: Option<Vec<String>>) -> Self
A string value on which to filter. For example, if you choose the destinationServer.osVersion
filter name, you could specify Ubuntu
for the value.
sourcepub fn get_values(&self) -> &Option<Vec<String>>
pub fn get_values(&self) -> &Option<Vec<String>>
A string value on which to filter. For example, if you choose the destinationServer.osVersion
filter name, you could specify Ubuntu
for the value.
sourcepub fn condition(self, input: impl Into<String>) -> Self
pub fn condition(self, input: impl Into<String>) -> Self
A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by AND. If you specify multiple values for a particular filter, the system differentiates the values using OR. Calling either DescribeConfigurations or ListConfigurations returns attributes of matching configuration items.
This field is required.sourcepub fn set_condition(self, input: Option<String>) -> Self
pub fn set_condition(self, input: Option<String>) -> Self
A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by AND. If you specify multiple values for a particular filter, the system differentiates the values using OR. Calling either DescribeConfigurations or ListConfigurations returns attributes of matching configuration items.
sourcepub fn get_condition(&self) -> &Option<String>
pub fn get_condition(&self) -> &Option<String>
A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by AND. If you specify multiple values for a particular filter, the system differentiates the values using OR. Calling either DescribeConfigurations or ListConfigurations returns attributes of matching configuration items.
Trait Implementations§
source§impl Clone for FilterBuilder
impl Clone for FilterBuilder
source§fn clone(&self) -> FilterBuilder
fn clone(&self) -> FilterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FilterBuilder
impl Debug for FilterBuilder
source§impl Default for FilterBuilder
impl Default for FilterBuilder
source§fn default() -> FilterBuilder
fn default() -> FilterBuilder
source§impl PartialEq for FilterBuilder
impl PartialEq for FilterBuilder
source§fn eq(&self, other: &FilterBuilder) -> bool
fn eq(&self, other: &FilterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.