Struct aws_sdk_backup::types::builders::ConditionsBuilder
source · #[non_exhaustive]pub struct ConditionsBuilder { /* private fields */ }
Expand description
A builder for Conditions
.
Implementations§
source§impl ConditionsBuilder
impl ConditionsBuilder
sourcepub fn string_equals(self, input: ConditionParameter) -> Self
pub fn string_equals(self, input: ConditionParameter) -> Self
Appends an item to string_equals
.
To override the contents of this collection use set_string_equals
.
Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
sourcepub fn set_string_equals(self, input: Option<Vec<ConditionParameter>>) -> Self
pub fn set_string_equals(self, input: Option<Vec<ConditionParameter>>) -> Self
Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
sourcepub fn get_string_equals(&self) -> &Option<Vec<ConditionParameter>>
pub fn get_string_equals(&self) -> &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."
sourcepub fn string_not_equals(self, input: ConditionParameter) -> Self
pub fn string_not_equals(self, input: ConditionParameter) -> Self
Appends an item to string_not_equals
.
To override the contents of this collection use set_string_not_equals
.
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 set_string_not_equals(
self,
input: Option<Vec<ConditionParameter>>
) -> Self
pub fn set_string_not_equals( self, input: Option<Vec<ConditionParameter>> ) -> Self
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 get_string_not_equals(&self) -> &Option<Vec<ConditionParameter>>
pub fn get_string_not_equals(&self) -> &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."
sourcepub fn string_like(self, input: ConditionParameter) -> Self
pub fn string_like(self, input: ConditionParameter) -> Self
Appends an item to string_like
.
To override the contents of this collection use set_string_like
.
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 set_string_like(self, input: Option<Vec<ConditionParameter>>) -> Self
pub fn set_string_like(self, input: Option<Vec<ConditionParameter>>) -> Self
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 get_string_like(&self) -> &Option<Vec<ConditionParameter>>
pub fn get_string_like(&self) -> &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".
sourcepub fn string_not_like(self, input: ConditionParameter) -> Self
pub fn string_not_like(self, input: ConditionParameter) -> Self
Appends an item to string_not_like
.
To override the contents of this collection use set_string_not_like
.
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.
sourcepub fn set_string_not_like(self, input: Option<Vec<ConditionParameter>>) -> Self
pub fn set_string_not_like(self, input: Option<Vec<ConditionParameter>>) -> Self
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.
sourcepub fn get_string_not_like(&self) -> &Option<Vec<ConditionParameter>>
pub fn get_string_not_like(&self) -> &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.
sourcepub fn build(self) -> Conditions
pub fn build(self) -> Conditions
Consumes the builder and constructs a Conditions
.
Trait Implementations§
source§impl Clone for ConditionsBuilder
impl Clone for ConditionsBuilder
source§fn clone(&self) -> ConditionsBuilder
fn clone(&self) -> ConditionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConditionsBuilder
impl Debug for ConditionsBuilder
source§impl Default for ConditionsBuilder
impl Default for ConditionsBuilder
source§fn default() -> ConditionsBuilder
fn default() -> ConditionsBuilder
source§impl PartialEq for ConditionsBuilder
impl PartialEq for ConditionsBuilder
source§fn eq(&self, other: &ConditionsBuilder) -> bool
fn eq(&self, other: &ConditionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.