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 ==.