Struct aws_sdk_wafv2::types::RegexPatternSet
source · #[non_exhaustive]pub struct RegexPatternSet { /* private fields */ }
Expand description
Contains one or more regular expressions.
WAF assigns an ARN to each RegexPatternSet
that you create. To use a set in a rule, you provide the ARN to the Rule
statement RegexPatternSetReferenceStatement
.
Implementations§
source§impl RegexPatternSet
impl RegexPatternSet
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the set. You cannot change the name after you create the set.
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the set that helps with identification.
sourcepub fn regular_expression_list(&self) -> Option<&[Regex]>
pub fn regular_expression_list(&self) -> Option<&[Regex]>
The regular expression patterns in the set.
source§impl RegexPatternSet
impl RegexPatternSet
sourcepub fn builder() -> RegexPatternSetBuilder
pub fn builder() -> RegexPatternSetBuilder
Creates a new builder-style object to manufacture RegexPatternSet
.
Trait Implementations§
source§impl Clone for RegexPatternSet
impl Clone for RegexPatternSet
source§fn clone(&self) -> RegexPatternSet
fn clone(&self) -> RegexPatternSet
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RegexPatternSet
impl Debug for RegexPatternSet
source§impl PartialEq<RegexPatternSet> for RegexPatternSet
impl PartialEq<RegexPatternSet> for RegexPatternSet
source§fn eq(&self, other: &RegexPatternSet) -> bool
fn eq(&self, other: &RegexPatternSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RegexPatternSet
Auto Trait Implementations§
impl RefUnwindSafe for RegexPatternSet
impl Send for RegexPatternSet
impl Sync for RegexPatternSet
impl Unpin for RegexPatternSet
impl UnwindSafe for RegexPatternSet
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
Mutably borrows from an owned value. Read more