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 ==
.impl StructuralPartialEq for ConditionsBuilder
Auto Trait Implementations§
impl Freeze for ConditionsBuilder
impl RefUnwindSafe for ConditionsBuilder
impl Send for ConditionsBuilder
impl Sync for ConditionsBuilder
impl Unpin for ConditionsBuilder
impl UnwindSafe for ConditionsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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