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
impl StructuralPartialEq for XssMatchSetBuilder
Auto Trait Implementations§
impl Freeze for XssMatchSetBuilder
impl RefUnwindSafe for XssMatchSetBuilder
impl Send for XssMatchSetBuilder
impl Sync for XssMatchSetBuilder
impl Unpin for XssMatchSetBuilder
impl UnwindSafe for XssMatchSetBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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