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