Struct aws_sdk_backup::types::builders::ConditionParameterBuilder
source · #[non_exhaustive]pub struct ConditionParameterBuilder { /* private fields */ }
Expand description
A builder for ConditionParameter
.
Implementations§
source§impl ConditionParameterBuilder
impl ConditionParameterBuilder
sourcepub fn condition_key(self, input: impl Into<String>) -> Self
pub fn condition_key(self, input: impl Into<String>) -> Self
The key in a key-value pair. For example, in the tag Department: Accounting
, Department
is the key.
sourcepub fn set_condition_key(self, input: Option<String>) -> Self
pub fn set_condition_key(self, input: Option<String>) -> Self
The key in a key-value pair. For example, in the tag Department: Accounting
, Department
is the key.
sourcepub fn get_condition_key(&self) -> &Option<String>
pub fn get_condition_key(&self) -> &Option<String>
The key in a key-value pair. For example, in the tag Department: Accounting
, Department
is the key.
sourcepub fn condition_value(self, input: impl Into<String>) -> Self
pub fn condition_value(self, input: impl Into<String>) -> Self
The value in a key-value pair. For example, in the tag Department: Accounting
, Accounting
is the value.
sourcepub fn set_condition_value(self, input: Option<String>) -> Self
pub fn set_condition_value(self, input: Option<String>) -> Self
The value in a key-value pair. For example, in the tag Department: Accounting
, Accounting
is the value.
sourcepub fn get_condition_value(&self) -> &Option<String>
pub fn get_condition_value(&self) -> &Option<String>
The value in a key-value pair. For example, in the tag Department: Accounting
, Accounting
is the value.
sourcepub fn build(self) -> ConditionParameter
pub fn build(self) -> ConditionParameter
Consumes the builder and constructs a ConditionParameter
.
Trait Implementations§
source§impl Clone for ConditionParameterBuilder
impl Clone for ConditionParameterBuilder
source§fn clone(&self) -> ConditionParameterBuilder
fn clone(&self) -> ConditionParameterBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConditionParameterBuilder
impl Debug for ConditionParameterBuilder
source§impl Default for ConditionParameterBuilder
impl Default for ConditionParameterBuilder
source§fn default() -> ConditionParameterBuilder
fn default() -> ConditionParameterBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConditionParameterBuilder
impl PartialEq for ConditionParameterBuilder
source§fn eq(&self, other: &ConditionParameterBuilder) -> bool
fn eq(&self, other: &ConditionParameterBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConditionParameterBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ConditionParameterBuilder
impl Send for ConditionParameterBuilder
impl Sync for ConditionParameterBuilder
impl Unpin for ConditionParameterBuilder
impl UnwindSafe for ConditionParameterBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.