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 get_sql_injection_match_set_id(&self) -> &Option<String>
pub fn get_sql_injection_match_set_id(&self) -> &Option<String>
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 get_change_token(&self) -> &Option<String>
pub fn get_change_token(&self) -> &Option<String>
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 get_updates(&self) -> &Option<Vec<SqlInjectionMatchSetUpdate>>
pub fn get_updates(&self) -> &Option<Vec<SqlInjectionMatchSetUpdate>>
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.
source§impl UpdateSqlInjectionMatchSetInputBuilder
impl UpdateSqlInjectionMatchSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateSqlInjectionMatchSetOutput, SdkError<UpdateSqlInjectionMatchSetError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateSqlInjectionMatchSetOutput, SdkError<UpdateSqlInjectionMatchSetError, HttpResponse>>
Sends a request with this input using the given client.
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 ==.