#[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 ==.