Struct aws_sdk_waf::operation::update_sql_injection_match_set::builders::UpdateSqlInjectionMatchSetInputBuilder
source · #[non_exhaustive]pub struct UpdateSqlInjectionMatchSetInputBuilder { /* private fields */ }Expand description
A builder for UpdateSqlInjectionMatchSetInput.
Implementations§
source§impl UpdateSqlInjectionMatchSetInputBuilder
impl UpdateSqlInjectionMatchSetInputBuilder
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
The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to update. 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
The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to update. SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.
sourcepub fn change_token(self, input: impl Into<String>) -> Self
pub fn change_token(self, input: impl Into<String>) -> Self
The value returned by the most recent call to GetChangeToken.
sourcepub fn set_change_token(self, input: Option<String>) -> Self
pub fn set_change_token(self, input: Option<String>) -> Self
The value returned by the most recent call to GetChangeToken.
sourcepub fn updates(self, input: SqlInjectionMatchSetUpdate) -> Self
pub fn updates(self, input: SqlInjectionMatchSetUpdate) -> Self
Appends an item to updates.
To override the contents of this collection use set_updates.
An array of SqlInjectionMatchSetUpdate objects that you want to insert into or delete from a SqlInjectionMatchSet. For more information, see the applicable data types:
-
SqlInjectionMatchSetUpdate: ContainsActionandSqlInjectionMatchTuple -
SqlInjectionMatchTuple: ContainsFieldToMatchandTextTransformation -
FieldToMatch: ContainsDataandType
sourcepub fn set_updates(self, input: Option<Vec<SqlInjectionMatchSetUpdate>>) -> Self
pub fn set_updates(self, input: Option<Vec<SqlInjectionMatchSetUpdate>>) -> Self
An array of SqlInjectionMatchSetUpdate objects that you want to insert into or delete from a SqlInjectionMatchSet. For more information, see the applicable data types:
-
SqlInjectionMatchSetUpdate: ContainsActionandSqlInjectionMatchTuple -
SqlInjectionMatchTuple: ContainsFieldToMatchandTextTransformation -
FieldToMatch: ContainsDataandType
sourcepub fn build(self) -> Result<UpdateSqlInjectionMatchSetInput, BuildError>
pub fn build(self) -> Result<UpdateSqlInjectionMatchSetInput, BuildError>
Consumes the builder and constructs a UpdateSqlInjectionMatchSetInput.
Trait Implementations§
source§impl Clone for UpdateSqlInjectionMatchSetInputBuilder
impl Clone for UpdateSqlInjectionMatchSetInputBuilder
source§fn clone(&self) -> UpdateSqlInjectionMatchSetInputBuilder
fn clone(&self) -> UpdateSqlInjectionMatchSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateSqlInjectionMatchSetInputBuilder
impl Default for UpdateSqlInjectionMatchSetInputBuilder
source§fn default() -> UpdateSqlInjectionMatchSetInputBuilder
fn default() -> UpdateSqlInjectionMatchSetInputBuilder
source§impl PartialEq<UpdateSqlInjectionMatchSetInputBuilder> for UpdateSqlInjectionMatchSetInputBuilder
impl PartialEq<UpdateSqlInjectionMatchSetInputBuilder> for UpdateSqlInjectionMatchSetInputBuilder
source§fn eq(&self, other: &UpdateSqlInjectionMatchSetInputBuilder) -> bool
fn eq(&self, other: &UpdateSqlInjectionMatchSetInputBuilder) -> bool
self and other values to be equal, and is used
by ==.