Struct aws_sdk_waf::types::builders::XssMatchSetBuilder
source · #[non_exhaustive]pub struct XssMatchSetBuilder { /* private fields */ }Expand description
A builder for XssMatchSet.
Implementations§
source§impl XssMatchSetBuilder
impl XssMatchSetBuilder
sourcepub fn xss_match_set_id(self, input: impl Into<String>) -> Self
pub fn xss_match_set_id(self, input: impl Into<String>) -> Self
A unique identifier for an XssMatchSet. You use XssMatchSetId to get information about an XssMatchSet (see GetXssMatchSet), update an XssMatchSet (see UpdateXssMatchSet), insert an XssMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet).
XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.
sourcepub fn set_xss_match_set_id(self, input: Option<String>) -> Self
pub fn set_xss_match_set_id(self, input: Option<String>) -> Self
A unique identifier for an XssMatchSet. You use XssMatchSetId to get information about an XssMatchSet (see GetXssMatchSet), update an XssMatchSet (see UpdateXssMatchSet), insert an XssMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet).
XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.
sourcepub fn get_xss_match_set_id(&self) -> &Option<String>
pub fn get_xss_match_set_id(&self) -> &Option<String>
A unique identifier for an XssMatchSet. You use XssMatchSetId to get information about an XssMatchSet (see GetXssMatchSet), update an XssMatchSet (see UpdateXssMatchSet), insert an XssMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet).
XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.
sourcepub fn xss_match_tuples(self, input: XssMatchTuple) -> Self
pub fn xss_match_tuples(self, input: XssMatchTuple) -> Self
Appends an item to xss_match_tuples.
To override the contents of this collection use set_xss_match_tuples.
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
sourcepub fn set_xss_match_tuples(self, input: Option<Vec<XssMatchTuple>>) -> Self
pub fn set_xss_match_tuples(self, input: Option<Vec<XssMatchTuple>>) -> Self
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
sourcepub fn get_xss_match_tuples(&self) -> &Option<Vec<XssMatchTuple>>
pub fn get_xss_match_tuples(&self) -> &Option<Vec<XssMatchTuple>>
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
sourcepub fn build(self) -> Result<XssMatchSet, BuildError>
pub fn build(self) -> Result<XssMatchSet, BuildError>
Consumes the builder and constructs a XssMatchSet.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for XssMatchSetBuilder
impl Clone for XssMatchSetBuilder
source§fn clone(&self) -> XssMatchSetBuilder
fn clone(&self) -> XssMatchSetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for XssMatchSetBuilder
impl Debug for XssMatchSetBuilder
source§impl Default for XssMatchSetBuilder
impl Default for XssMatchSetBuilder
source§fn default() -> XssMatchSetBuilder
fn default() -> XssMatchSetBuilder
source§impl PartialEq for XssMatchSetBuilder
impl PartialEq for XssMatchSetBuilder
source§fn eq(&self, other: &XssMatchSetBuilder) -> bool
fn eq(&self, other: &XssMatchSetBuilder) -> bool
self and other values to be equal, and is used
by ==.