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 ==
.impl StructuralPartialEq for ConditionBuilder
Auto Trait Implementations§
impl Freeze for ConditionBuilder
impl RefUnwindSafe for ConditionBuilder
impl Send for ConditionBuilder
impl Sync for ConditionBuilder
impl Unpin for ConditionBuilder
impl UnwindSafe for ConditionBuilder
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> 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