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 for UpdateSqlInjectionMatchSetInputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for UpdateSqlInjectionMatchSetInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateSqlInjectionMatchSetInputBuilder
impl RefUnwindSafe for UpdateSqlInjectionMatchSetInputBuilder
impl Send for UpdateSqlInjectionMatchSetInputBuilder
impl Sync for UpdateSqlInjectionMatchSetInputBuilder
impl Unpin for UpdateSqlInjectionMatchSetInputBuilder
impl UnwindSafe for UpdateSqlInjectionMatchSetInputBuilder
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