Struct aws_sdk_backup::types::Conditions
source · #[non_exhaustive]pub struct Conditions {
pub string_equals: Option<Vec<ConditionParameter>>,
pub string_not_equals: Option<Vec<ConditionParameter>>,
pub string_like: Option<Vec<ConditionParameter>>,
pub string_not_like: Option<Vec<ConditionParameter>>,
}
Expand description
Contains information about which resources to include or exclude from a backup plan using their tags. Conditions are case sensitive.
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.string_equals: Option<Vec<ConditionParameter>>
Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
string_not_equals: Option<Vec<ConditionParameter>>
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
string_like: Option<Vec<ConditionParameter>>
Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".
string_not_like: Option<Vec<ConditionParameter>>
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.
Implementations§
source§impl Conditions
impl Conditions
sourcepub fn string_equals(&self) -> Option<&[ConditionParameter]>
pub fn string_equals(&self) -> Option<&[ConditionParameter]>
Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
sourcepub fn string_not_equals(&self) -> Option<&[ConditionParameter]>
pub fn string_not_equals(&self) -> Option<&[ConditionParameter]>
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
sourcepub fn string_like(&self) -> Option<&[ConditionParameter]>
pub fn string_like(&self) -> Option<&[ConditionParameter]>
Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".
sourcepub fn string_not_like(&self) -> Option<&[ConditionParameter]>
pub fn string_not_like(&self) -> Option<&[ConditionParameter]>
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.
source§impl Conditions
impl Conditions
sourcepub fn builder() -> ConditionsBuilder
pub fn builder() -> ConditionsBuilder
Creates a new builder-style object to manufacture Conditions
.
Trait Implementations§
source§impl Clone for Conditions
impl Clone for Conditions
source§fn clone(&self) -> Conditions
fn clone(&self) -> Conditions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Conditions
impl Debug for Conditions
source§impl PartialEq<Conditions> for Conditions
impl PartialEq<Conditions> for Conditions
source§fn eq(&self, other: &Conditions) -> bool
fn eq(&self, other: &Conditions) -> bool
self
and other
values to be equal, and is used
by ==
.