Struct aws_sdk_waf::types::builders::SqlInjectionMatchSetBuilder
source · #[non_exhaustive]pub struct SqlInjectionMatchSetBuilder { /* private fields */ }Expand description
A builder for SqlInjectionMatchSet.
Implementations§
source§impl SqlInjectionMatchSetBuilder
impl SqlInjectionMatchSetBuilder
sourcepub fn sql_injection_match_set_id(self, input: impl Into<String>) -> Self
pub fn sql_injection_match_set_id(self, input: impl Into<String>) -> Self
A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet).
SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.
sourcepub fn set_sql_injection_match_set_id(self, input: Option<String>) -> Self
pub fn set_sql_injection_match_set_id(self, input: Option<String>) -> Self
A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet).
SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.
sourcepub fn get_sql_injection_match_set_id(&self) -> &Option<String>
pub fn get_sql_injection_match_set_id(&self) -> &Option<String>
A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet).
SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name, if any, of the SqlInjectionMatchSet.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name, if any, of the SqlInjectionMatchSet.
sourcepub fn sql_injection_match_tuples(self, input: SqlInjectionMatchTuple) -> Self
pub fn sql_injection_match_tuples(self, input: SqlInjectionMatchTuple) -> Self
Appends an item to sql_injection_match_tuples.
To override the contents of this collection use set_sql_injection_match_tuples.
Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
sourcepub fn set_sql_injection_match_tuples(
self,
input: Option<Vec<SqlInjectionMatchTuple>>
) -> Self
pub fn set_sql_injection_match_tuples( self, input: Option<Vec<SqlInjectionMatchTuple>> ) -> Self
Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
sourcepub fn get_sql_injection_match_tuples(
&self
) -> &Option<Vec<SqlInjectionMatchTuple>>
pub fn get_sql_injection_match_tuples( &self ) -> &Option<Vec<SqlInjectionMatchTuple>>
Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
sourcepub fn build(self) -> Result<SqlInjectionMatchSet, BuildError>
pub fn build(self) -> Result<SqlInjectionMatchSet, BuildError>
Consumes the builder and constructs a SqlInjectionMatchSet.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SqlInjectionMatchSetBuilder
impl Clone for SqlInjectionMatchSetBuilder
source§fn clone(&self) -> SqlInjectionMatchSetBuilder
fn clone(&self) -> SqlInjectionMatchSetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SqlInjectionMatchSetBuilder
impl Debug for SqlInjectionMatchSetBuilder
source§impl Default for SqlInjectionMatchSetBuilder
impl Default for SqlInjectionMatchSetBuilder
source§fn default() -> SqlInjectionMatchSetBuilder
fn default() -> SqlInjectionMatchSetBuilder
source§impl PartialEq for SqlInjectionMatchSetBuilder
impl PartialEq for SqlInjectionMatchSetBuilder
source§fn eq(&self, other: &SqlInjectionMatchSetBuilder) -> bool
fn eq(&self, other: &SqlInjectionMatchSetBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SqlInjectionMatchSetBuilder
Auto Trait Implementations§
impl Freeze for SqlInjectionMatchSetBuilder
impl RefUnwindSafe for SqlInjectionMatchSetBuilder
impl Send for SqlInjectionMatchSetBuilder
impl Sync for SqlInjectionMatchSetBuilder
impl Unpin for SqlInjectionMatchSetBuilder
impl UnwindSafe for SqlInjectionMatchSetBuilder
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