Struct aws_sdk_waf::types::builders::RegexMatchSetSummaryBuilder
source · #[non_exhaustive]pub struct RegexMatchSetSummaryBuilder { /* private fields */ }Expand description
A builder for RegexMatchSetSummary.
Implementations§
source§impl RegexMatchSetSummaryBuilder
impl RegexMatchSetSummaryBuilder
sourcepub fn regex_match_set_id(self, input: impl Into<String>) -> Self
pub fn regex_match_set_id(self, input: impl Into<String>) -> Self
The RegexMatchSetId for a RegexMatchSet. You use RegexMatchSetId to get information about a RegexMatchSet, update a RegexMatchSet, remove a RegexMatchSet from a Rule, and delete a RegexMatchSet from AWS WAF.
RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.
sourcepub fn set_regex_match_set_id(self, input: Option<String>) -> Self
pub fn set_regex_match_set_id(self, input: Option<String>) -> Self
The RegexMatchSetId for a RegexMatchSet. You use RegexMatchSetId to get information about a RegexMatchSet, update a RegexMatchSet, remove a RegexMatchSet from a Rule, and delete a RegexMatchSet from AWS WAF.
RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.
sourcepub fn get_regex_match_set_id(&self) -> &Option<String>
pub fn get_regex_match_set_id(&self) -> &Option<String>
The RegexMatchSetId for a RegexMatchSet. You use RegexMatchSetId to get information about a RegexMatchSet, update a RegexMatchSet, remove a RegexMatchSet from a Rule, and delete a RegexMatchSet from AWS WAF.
RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A friendly name or description of the RegexMatchSet. You can't change Name after you create a RegexMatchSet.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A friendly name or description of the RegexMatchSet. You can't change Name after you create a RegexMatchSet.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A friendly name or description of the RegexMatchSet. You can't change Name after you create a RegexMatchSet.
sourcepub fn build(self) -> Result<RegexMatchSetSummary, BuildError>
pub fn build(self) -> Result<RegexMatchSetSummary, BuildError>
Consumes the builder and constructs a RegexMatchSetSummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RegexMatchSetSummaryBuilder
impl Clone for RegexMatchSetSummaryBuilder
source§fn clone(&self) -> RegexMatchSetSummaryBuilder
fn clone(&self) -> RegexMatchSetSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RegexMatchSetSummaryBuilder
impl Debug for RegexMatchSetSummaryBuilder
source§impl Default for RegexMatchSetSummaryBuilder
impl Default for RegexMatchSetSummaryBuilder
source§fn default() -> RegexMatchSetSummaryBuilder
fn default() -> RegexMatchSetSummaryBuilder
source§impl PartialEq for RegexMatchSetSummaryBuilder
impl PartialEq for RegexMatchSetSummaryBuilder
source§fn eq(&self, other: &RegexMatchSetSummaryBuilder) -> bool
fn eq(&self, other: &RegexMatchSetSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RegexMatchSetSummaryBuilder
Auto Trait Implementations§
impl Freeze for RegexMatchSetSummaryBuilder
impl RefUnwindSafe for RegexMatchSetSummaryBuilder
impl Send for RegexMatchSetSummaryBuilder
impl Sync for RegexMatchSetSummaryBuilder
impl Unpin for RegexMatchSetSummaryBuilder
impl UnwindSafe for RegexMatchSetSummaryBuilder
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