Struct aws_sdk_wafv2::types::builders::HeaderMatchPatternBuilder
source · #[non_exhaustive]pub struct HeaderMatchPatternBuilder { /* private fields */ }
Expand description
A builder for HeaderMatchPattern
.
Implementations§
source§impl HeaderMatchPatternBuilder
impl HeaderMatchPatternBuilder
sourcepub fn included_headers(self, input: impl Into<String>) -> Self
pub fn included_headers(self, input: impl Into<String>) -> Self
Appends an item to included_headers
.
To override the contents of this collection use set_included_headers
.
Inspect only the headers that have a key that matches one of the strings specified here.
sourcepub fn set_included_headers(self, input: Option<Vec<String>>) -> Self
pub fn set_included_headers(self, input: Option<Vec<String>>) -> Self
Inspect only the headers that have a key that matches one of the strings specified here.
sourcepub fn get_included_headers(&self) -> &Option<Vec<String>>
pub fn get_included_headers(&self) -> &Option<Vec<String>>
Inspect only the headers that have a key that matches one of the strings specified here.
sourcepub fn excluded_headers(self, input: impl Into<String>) -> Self
pub fn excluded_headers(self, input: impl Into<String>) -> Self
Appends an item to excluded_headers
.
To override the contents of this collection use set_excluded_headers
.
Inspect only the headers whose keys don't match any of the strings specified here.
sourcepub fn set_excluded_headers(self, input: Option<Vec<String>>) -> Self
pub fn set_excluded_headers(self, input: Option<Vec<String>>) -> Self
Inspect only the headers whose keys don't match any of the strings specified here.
sourcepub fn get_excluded_headers(&self) -> &Option<Vec<String>>
pub fn get_excluded_headers(&self) -> &Option<Vec<String>>
Inspect only the headers whose keys don't match any of the strings specified here.
sourcepub fn build(self) -> HeaderMatchPattern
pub fn build(self) -> HeaderMatchPattern
Consumes the builder and constructs a HeaderMatchPattern
.
Trait Implementations§
source§impl Clone for HeaderMatchPatternBuilder
impl Clone for HeaderMatchPatternBuilder
source§fn clone(&self) -> HeaderMatchPatternBuilder
fn clone(&self) -> HeaderMatchPatternBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HeaderMatchPatternBuilder
impl Debug for HeaderMatchPatternBuilder
source§impl Default for HeaderMatchPatternBuilder
impl Default for HeaderMatchPatternBuilder
source§fn default() -> HeaderMatchPatternBuilder
fn default() -> HeaderMatchPatternBuilder
source§impl PartialEq for HeaderMatchPatternBuilder
impl PartialEq for HeaderMatchPatternBuilder
source§fn eq(&self, other: &HeaderMatchPatternBuilder) -> bool
fn eq(&self, other: &HeaderMatchPatternBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.