Struct aws_sdk_waf::operation::update_byte_match_set::builders::UpdateByteMatchSetInputBuilder
source · #[non_exhaustive]pub struct UpdateByteMatchSetInputBuilder { /* private fields */ }Expand description
A builder for UpdateByteMatchSetInput.
Implementations§
source§impl UpdateByteMatchSetInputBuilder
impl UpdateByteMatchSetInputBuilder
sourcepub fn byte_match_set_id(self, input: impl Into<String>) -> Self
pub fn byte_match_set_id(self, input: impl Into<String>) -> Self
The ByteMatchSetId of the ByteMatchSet that you want to update. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.
sourcepub fn set_byte_match_set_id(self, input: Option<String>) -> Self
pub fn set_byte_match_set_id(self, input: Option<String>) -> Self
The ByteMatchSetId of the ByteMatchSet that you want to update. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.
sourcepub fn get_byte_match_set_id(&self) -> &Option<String>
pub fn get_byte_match_set_id(&self) -> &Option<String>
The ByteMatchSetId of the ByteMatchSet that you want to update. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.
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: ByteMatchSetUpdate) -> Self
pub fn updates(self, input: ByteMatchSetUpdate) -> Self
Appends an item to updates.
To override the contents of this collection use set_updates.
An array of ByteMatchSetUpdate objects that you want to insert into or delete from a ByteMatchSet. For more information, see the applicable data types:
-
ByteMatchSetUpdate: ContainsActionandByteMatchTuple -
ByteMatchTuple: ContainsFieldToMatch,PositionalConstraint,TargetString, andTextTransformation -
FieldToMatch: ContainsDataandType
sourcepub fn set_updates(self, input: Option<Vec<ByteMatchSetUpdate>>) -> Self
pub fn set_updates(self, input: Option<Vec<ByteMatchSetUpdate>>) -> Self
An array of ByteMatchSetUpdate objects that you want to insert into or delete from a ByteMatchSet. For more information, see the applicable data types:
-
ByteMatchSetUpdate: ContainsActionandByteMatchTuple -
ByteMatchTuple: ContainsFieldToMatch,PositionalConstraint,TargetString, andTextTransformation -
FieldToMatch: ContainsDataandType
sourcepub fn get_updates(&self) -> &Option<Vec<ByteMatchSetUpdate>>
pub fn get_updates(&self) -> &Option<Vec<ByteMatchSetUpdate>>
An array of ByteMatchSetUpdate objects that you want to insert into or delete from a ByteMatchSet. For more information, see the applicable data types:
-
ByteMatchSetUpdate: ContainsActionandByteMatchTuple -
ByteMatchTuple: ContainsFieldToMatch,PositionalConstraint,TargetString, andTextTransformation -
FieldToMatch: ContainsDataandType
sourcepub fn build(self) -> Result<UpdateByteMatchSetInput, BuildError>
pub fn build(self) -> Result<UpdateByteMatchSetInput, BuildError>
Consumes the builder and constructs a UpdateByteMatchSetInput.
source§impl UpdateByteMatchSetInputBuilder
impl UpdateByteMatchSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateByteMatchSetOutput, SdkError<UpdateByteMatchSetError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateByteMatchSetOutput, SdkError<UpdateByteMatchSetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateByteMatchSetInputBuilder
impl Clone for UpdateByteMatchSetInputBuilder
source§fn clone(&self) -> UpdateByteMatchSetInputBuilder
fn clone(&self) -> UpdateByteMatchSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateByteMatchSetInputBuilder
impl Default for UpdateByteMatchSetInputBuilder
source§fn default() -> UpdateByteMatchSetInputBuilder
fn default() -> UpdateByteMatchSetInputBuilder
source§impl PartialEq for UpdateByteMatchSetInputBuilder
impl PartialEq for UpdateByteMatchSetInputBuilder
source§fn eq(&self, other: &UpdateByteMatchSetInputBuilder) -> bool
fn eq(&self, other: &UpdateByteMatchSetInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateByteMatchSetInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateByteMatchSetInputBuilder
impl RefUnwindSafe for UpdateByteMatchSetInputBuilder
impl Send for UpdateByteMatchSetInputBuilder
impl Sync for UpdateByteMatchSetInputBuilder
impl Unpin for UpdateByteMatchSetInputBuilder
impl UnwindSafe for UpdateByteMatchSetInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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