Struct aws_sdk_waf::types::builders::ByteMatchSetBuilder
source · #[non_exhaustive]pub struct ByteMatchSetBuilder { /* private fields */ }Expand description
A builder for ByteMatchSet.
Implementations§
source§impl ByteMatchSetBuilder
impl ByteMatchSetBuilder
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 for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet (see GetByteMatchSet), update a ByteMatchSet (see UpdateByteMatchSet), insert a ByteMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a ByteMatchSet from AWS WAF (see DeleteByteMatchSet).
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 for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet (see GetByteMatchSet), update a ByteMatchSet (see UpdateByteMatchSet), insert a ByteMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a ByteMatchSet from AWS WAF (see DeleteByteMatchSet).
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 for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet (see GetByteMatchSet), update a ByteMatchSet (see UpdateByteMatchSet), insert a ByteMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a ByteMatchSet from AWS WAF (see DeleteByteMatchSet).
ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet.
sourcepub fn byte_match_tuples(self, input: ByteMatchTuple) -> Self
pub fn byte_match_tuples(self, input: ByteMatchTuple) -> Self
Appends an item to byte_match_tuples.
To override the contents of this collection use set_byte_match_tuples.
Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.
sourcepub fn set_byte_match_tuples(self, input: Option<Vec<ByteMatchTuple>>) -> Self
pub fn set_byte_match_tuples(self, input: Option<Vec<ByteMatchTuple>>) -> Self
Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.
sourcepub fn get_byte_match_tuples(&self) -> &Option<Vec<ByteMatchTuple>>
pub fn get_byte_match_tuples(&self) -> &Option<Vec<ByteMatchTuple>>
Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.
sourcepub fn build(self) -> ByteMatchSet
pub fn build(self) -> ByteMatchSet
Consumes the builder and constructs a ByteMatchSet.
Trait Implementations§
source§impl Clone for ByteMatchSetBuilder
impl Clone for ByteMatchSetBuilder
source§fn clone(&self) -> ByteMatchSetBuilder
fn clone(&self) -> ByteMatchSetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ByteMatchSetBuilder
impl Debug for ByteMatchSetBuilder
source§impl Default for ByteMatchSetBuilder
impl Default for ByteMatchSetBuilder
source§fn default() -> ByteMatchSetBuilder
fn default() -> ByteMatchSetBuilder
source§impl PartialEq<ByteMatchSetBuilder> for ByteMatchSetBuilder
impl PartialEq<ByteMatchSetBuilder> for ByteMatchSetBuilder
source§fn eq(&self, other: &ByteMatchSetBuilder) -> bool
fn eq(&self, other: &ByteMatchSetBuilder) -> bool
self and other values to be equal, and is used
by ==.