Struct aws_sdk_waf::types::builders::RegexMatchSetUpdateBuilder
source · #[non_exhaustive]pub struct RegexMatchSetUpdateBuilder { /* private fields */ }
Expand description
A builder for RegexMatchSetUpdate
.
Implementations§
source§impl RegexMatchSetUpdateBuilder
impl RegexMatchSetUpdateBuilder
sourcepub fn action(self, input: ChangeAction) -> Self
pub fn action(self, input: ChangeAction) -> Self
Specifies whether to insert or delete a RegexMatchTuple
.
sourcepub fn set_action(self, input: Option<ChangeAction>) -> Self
pub fn set_action(self, input: Option<ChangeAction>) -> Self
Specifies whether to insert or delete a RegexMatchTuple
.
sourcepub fn get_action(&self) -> &Option<ChangeAction>
pub fn get_action(&self) -> &Option<ChangeAction>
Specifies whether to insert or delete a RegexMatchTuple
.
sourcepub fn regex_match_tuple(self, input: RegexMatchTuple) -> Self
pub fn regex_match_tuple(self, input: RegexMatchTuple) -> Self
Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE
for the value of Action
, the RegexMatchTuple
values must exactly match the values in the RegexMatchTuple
that you want to delete from the RegexMatchSet
.
sourcepub fn set_regex_match_tuple(self, input: Option<RegexMatchTuple>) -> Self
pub fn set_regex_match_tuple(self, input: Option<RegexMatchTuple>) -> Self
Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE
for the value of Action
, the RegexMatchTuple
values must exactly match the values in the RegexMatchTuple
that you want to delete from the RegexMatchSet
.
sourcepub fn get_regex_match_tuple(&self) -> &Option<RegexMatchTuple>
pub fn get_regex_match_tuple(&self) -> &Option<RegexMatchTuple>
Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE
for the value of Action
, the RegexMatchTuple
values must exactly match the values in the RegexMatchTuple
that you want to delete from the RegexMatchSet
.
sourcepub fn build(self) -> Result<RegexMatchSetUpdate, BuildError>
pub fn build(self) -> Result<RegexMatchSetUpdate, BuildError>
Consumes the builder and constructs a RegexMatchSetUpdate
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RegexMatchSetUpdateBuilder
impl Clone for RegexMatchSetUpdateBuilder
source§fn clone(&self) -> RegexMatchSetUpdateBuilder
fn clone(&self) -> RegexMatchSetUpdateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RegexMatchSetUpdateBuilder
impl Debug for RegexMatchSetUpdateBuilder
source§impl Default for RegexMatchSetUpdateBuilder
impl Default for RegexMatchSetUpdateBuilder
source§fn default() -> RegexMatchSetUpdateBuilder
fn default() -> RegexMatchSetUpdateBuilder
source§impl PartialEq for RegexMatchSetUpdateBuilder
impl PartialEq for RegexMatchSetUpdateBuilder
source§fn eq(&self, other: &RegexMatchSetUpdateBuilder) -> bool
fn eq(&self, other: &RegexMatchSetUpdateBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RegexMatchSetUpdateBuilder
Auto Trait Implementations§
impl Freeze for RegexMatchSetUpdateBuilder
impl RefUnwindSafe for RegexMatchSetUpdateBuilder
impl Send for RegexMatchSetUpdateBuilder
impl Sync for RegexMatchSetUpdateBuilder
impl Unpin for RegexMatchSetUpdateBuilder
impl UnwindSafe for RegexMatchSetUpdateBuilder
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