#[non_exhaustive]pub struct SqlInjectionMatchSetUpdateBuilder { /* private fields */ }Expand description
A builder for SqlInjectionMatchSetUpdate.
Implementations§
source§impl SqlInjectionMatchSetUpdateBuilder
impl SqlInjectionMatchSetUpdateBuilder
sourcepub fn action(self, input: ChangeAction) -> Self
pub fn action(self, input: ChangeAction) -> Self
Specify INSERT to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. Use DELETE to remove a SqlInjectionMatchSetUpdate from a SqlInjectionMatchSet.
sourcepub fn set_action(self, input: Option<ChangeAction>) -> Self
pub fn set_action(self, input: Option<ChangeAction>) -> Self
Specify INSERT to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. Use DELETE to remove a SqlInjectionMatchSetUpdate from a SqlInjectionMatchSet.
sourcepub fn get_action(&self) -> &Option<ChangeAction>
pub fn get_action(&self) -> &Option<ChangeAction>
Specify INSERT to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. Use DELETE to remove a SqlInjectionMatchSetUpdate from a SqlInjectionMatchSet.
sourcepub fn sql_injection_match_tuple(self, input: SqlInjectionMatchTuple) -> Self
pub fn sql_injection_match_tuple(self, input: SqlInjectionMatchTuple) -> Self
Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.
This field is required.sourcepub fn set_sql_injection_match_tuple(
self,
input: Option<SqlInjectionMatchTuple>,
) -> Self
pub fn set_sql_injection_match_tuple( self, input: Option<SqlInjectionMatchTuple>, ) -> Self
Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.
sourcepub fn get_sql_injection_match_tuple(&self) -> &Option<SqlInjectionMatchTuple>
pub fn get_sql_injection_match_tuple(&self) -> &Option<SqlInjectionMatchTuple>
Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.
sourcepub fn build(self) -> Result<SqlInjectionMatchSetUpdate, BuildError>
pub fn build(self) -> Result<SqlInjectionMatchSetUpdate, BuildError>
Consumes the builder and constructs a SqlInjectionMatchSetUpdate.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SqlInjectionMatchSetUpdateBuilder
impl Clone for SqlInjectionMatchSetUpdateBuilder
source§fn clone(&self) -> SqlInjectionMatchSetUpdateBuilder
fn clone(&self) -> SqlInjectionMatchSetUpdateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SqlInjectionMatchSetUpdateBuilder
impl Default for SqlInjectionMatchSetUpdateBuilder
source§fn default() -> SqlInjectionMatchSetUpdateBuilder
fn default() -> SqlInjectionMatchSetUpdateBuilder
source§impl PartialEq for SqlInjectionMatchSetUpdateBuilder
impl PartialEq for SqlInjectionMatchSetUpdateBuilder
source§fn eq(&self, other: &SqlInjectionMatchSetUpdateBuilder) -> bool
fn eq(&self, other: &SqlInjectionMatchSetUpdateBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SqlInjectionMatchSetUpdateBuilder
Auto Trait Implementations§
impl Freeze for SqlInjectionMatchSetUpdateBuilder
impl RefUnwindSafe for SqlInjectionMatchSetUpdateBuilder
impl Send for SqlInjectionMatchSetUpdateBuilder
impl Sync for SqlInjectionMatchSetUpdateBuilder
impl Unpin for SqlInjectionMatchSetUpdateBuilder
impl UnwindSafe for SqlInjectionMatchSetUpdateBuilder
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