#[non_exhaustive]pub struct ProtectedResourceConditionsBuilder { /* private fields */ }
Expand description
A builder for ProtectedResourceConditions
.
Implementations§
source§impl ProtectedResourceConditionsBuilder
impl ProtectedResourceConditionsBuilder
sourcepub fn string_equals(self, input: KeyValue) -> Self
pub fn string_equals(self, input: KeyValue) -> 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<KeyValue>>) -> Self
pub fn set_string_equals(self, input: Option<Vec<KeyValue>>) -> 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<KeyValue>>
pub fn get_string_equals(&self) -> &Option<Vec<KeyValue>>
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: KeyValue) -> Self
pub fn string_not_equals(self, input: KeyValue) -> 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<KeyValue>>) -> Self
pub fn set_string_not_equals(self, input: Option<Vec<KeyValue>>) -> 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<KeyValue>>
pub fn get_string_not_equals(&self) -> &Option<Vec<KeyValue>>
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 build(self) -> ProtectedResourceConditions
pub fn build(self) -> ProtectedResourceConditions
Consumes the builder and constructs a ProtectedResourceConditions
.
Trait Implementations§
source§impl Clone for ProtectedResourceConditionsBuilder
impl Clone for ProtectedResourceConditionsBuilder
source§fn clone(&self) -> ProtectedResourceConditionsBuilder
fn clone(&self) -> ProtectedResourceConditionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ProtectedResourceConditionsBuilder
impl Default for ProtectedResourceConditionsBuilder
source§fn default() -> ProtectedResourceConditionsBuilder
fn default() -> ProtectedResourceConditionsBuilder
source§impl PartialEq for ProtectedResourceConditionsBuilder
impl PartialEq for ProtectedResourceConditionsBuilder
source§fn eq(&self, other: &ProtectedResourceConditionsBuilder) -> bool
fn eq(&self, other: &ProtectedResourceConditionsBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ProtectedResourceConditionsBuilder
Auto Trait Implementations§
impl Freeze for ProtectedResourceConditionsBuilder
impl RefUnwindSafe for ProtectedResourceConditionsBuilder
impl Send for ProtectedResourceConditionsBuilder
impl Sync for ProtectedResourceConditionsBuilder
impl Unpin for ProtectedResourceConditionsBuilder
impl UnwindSafe for ProtectedResourceConditionsBuilder
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