Struct aws_sdk_applicationdiscovery::types::Filter
source · #[non_exhaustive]pub struct Filter {
pub name: String,
pub values: Vec<String>,
pub condition: String,
}
Expand description
A filter that can use conditional operators.
For more information about filters, see Querying Discovered Configuration Items in the Amazon Web Services Application Discovery Service User Guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: String
The name of the filter.
values: 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.
condition: 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.
Implementations§
source§impl Filter
impl Filter
sourcepub fn values(&self) -> &[String]
pub fn values(&self) -> &[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) -> &str
pub fn condition(&self) -> &str
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.