Struct aws_sdk_backup::types::builders::ConditionBuilder
source · #[non_exhaustive]pub struct ConditionBuilder { /* private fields */ }Expand description
A builder for Condition.
Implementations§
source§impl ConditionBuilder
impl ConditionBuilder
sourcepub fn condition_type(self, input: ConditionType) -> Self
pub fn condition_type(self, input: ConditionType) -> Self
An operation applied to a key-value pair used to assign resources to your backup plan. Condition only supports StringEquals. For more flexible assignment options, including StringLike and the ability to exclude resources from your backup plan, use Conditions (with an "s" on the end) for your BackupSelection .
sourcepub fn set_condition_type(self, input: Option<ConditionType>) -> Self
pub fn set_condition_type(self, input: Option<ConditionType>) -> Self
An operation applied to a key-value pair used to assign resources to your backup plan. Condition only supports StringEquals. For more flexible assignment options, including StringLike and the ability to exclude resources from your backup plan, use Conditions (with an "s" on the end) for your BackupSelection .
sourcepub fn get_condition_type(&self) -> &Option<ConditionType>
pub fn get_condition_type(&self) -> &Option<ConditionType>
An operation applied to a key-value pair used to assign resources to your backup plan. Condition only supports StringEquals. For more flexible assignment options, including StringLike and the ability to exclude resources from your backup plan, use Conditions (with an "s" on the end) for your BackupSelection .
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.
Trait Implementations§
source§impl Clone for ConditionBuilder
impl Clone for ConditionBuilder
source§fn clone(&self) -> ConditionBuilder
fn clone(&self) -> ConditionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ConditionBuilder
impl Debug for ConditionBuilder
source§impl Default for ConditionBuilder
impl Default for ConditionBuilder
source§fn default() -> ConditionBuilder
fn default() -> ConditionBuilder
source§impl PartialEq for ConditionBuilder
impl PartialEq for ConditionBuilder
source§fn eq(&self, other: &ConditionBuilder) -> bool
fn eq(&self, other: &ConditionBuilder) -> bool
self and other values to be equal, and is used
by ==.