Struct aws_sdk_backup::model::condition::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Condition
.
Implementations§
source§impl Builder
impl Builder
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 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 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.