Struct aws_sdk_wafv2::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 action_condition(self, input: ActionCondition) -> Self
pub fn action_condition(self, input: ActionCondition) -> Self
A single action condition. This is the action setting that a log record must contain in order to meet the condition.
sourcepub fn set_action_condition(self, input: Option<ActionCondition>) -> Self
pub fn set_action_condition(self, input: Option<ActionCondition>) -> Self
A single action condition. This is the action setting that a log record must contain in order to meet the condition.
sourcepub fn get_action_condition(&self) -> &Option<ActionCondition>
pub fn get_action_condition(&self) -> &Option<ActionCondition>
A single action condition. This is the action setting that a log record must contain in order to meet the condition.
sourcepub fn label_name_condition(self, input: LabelNameCondition) -> Self
pub fn label_name_condition(self, input: LabelNameCondition) -> Self
A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.
sourcepub fn set_label_name_condition(self, input: Option<LabelNameCondition>) -> Self
pub fn set_label_name_condition(self, input: Option<LabelNameCondition>) -> Self
A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.
sourcepub fn get_label_name_condition(&self) -> &Option<LabelNameCondition>
pub fn get_label_name_condition(&self) -> &Option<LabelNameCondition>
A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.
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 ==
.