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