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) -> SqlInjectionMatchSet
pub fn build(self) -> SqlInjectionMatchSet
Consumes the builder and constructs a SqlInjectionMatchSet.
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<SqlInjectionMatchSetBuilder> for SqlInjectionMatchSetBuilder
impl PartialEq<SqlInjectionMatchSetBuilder> 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 ==.