Struct aws_sdk_waf::types::builders::ByteMatchSetUpdateBuilder   
source · #[non_exhaustive]pub struct ByteMatchSetUpdateBuilder { /* private fields */ }Expand description
A builder for ByteMatchSetUpdate.
Implementations§
source§impl ByteMatchSetUpdateBuilder
 
impl ByteMatchSetUpdateBuilder
sourcepub fn action(self, input: ChangeAction) -> Self
 
pub fn action(self, input: ChangeAction) -> Self
Specifies whether to insert or delete a ByteMatchTuple.
sourcepub fn set_action(self, input: Option<ChangeAction>) -> Self
 
pub fn set_action(self, input: Option<ChangeAction>) -> Self
Specifies whether to insert or delete a ByteMatchTuple.
sourcepub fn get_action(&self) -> &Option<ChangeAction>
 
pub fn get_action(&self) -> &Option<ChangeAction>
Specifies whether to insert or delete a ByteMatchTuple.
sourcepub fn byte_match_tuple(self, input: ByteMatchTuple) -> Self
 
pub fn byte_match_tuple(self, input: ByteMatchTuple) -> Self
Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.
sourcepub fn set_byte_match_tuple(self, input: Option<ByteMatchTuple>) -> Self
 
pub fn set_byte_match_tuple(self, input: Option<ByteMatchTuple>) -> Self
Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.
sourcepub fn get_byte_match_tuple(&self) -> &Option<ByteMatchTuple>
 
pub fn get_byte_match_tuple(&self) -> &Option<ByteMatchTuple>
Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.
sourcepub fn build(self) -> Result<ByteMatchSetUpdate, BuildError>
 
pub fn build(self) -> Result<ByteMatchSetUpdate, BuildError>
Consumes the builder and constructs a ByteMatchSetUpdate.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ByteMatchSetUpdateBuilder
 
impl Clone for ByteMatchSetUpdateBuilder
source§fn clone(&self) -> ByteMatchSetUpdateBuilder
 
fn clone(&self) -> ByteMatchSetUpdateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ByteMatchSetUpdateBuilder
 
impl Debug for ByteMatchSetUpdateBuilder
source§impl Default for ByteMatchSetUpdateBuilder
 
impl Default for ByteMatchSetUpdateBuilder
source§fn default() -> ByteMatchSetUpdateBuilder
 
fn default() -> ByteMatchSetUpdateBuilder
source§impl PartialEq for ByteMatchSetUpdateBuilder
 
impl PartialEq for ByteMatchSetUpdateBuilder
source§fn eq(&self, other: &ByteMatchSetUpdateBuilder) -> bool
 
fn eq(&self, other: &ByteMatchSetUpdateBuilder) -> bool
self and other values to be equal, and is used
by ==.