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
impl StructuralPartialEq for HeaderMatchPatternBuilder
Auto Trait Implementations§
impl Freeze for HeaderMatchPatternBuilder
impl RefUnwindSafe for HeaderMatchPatternBuilder
impl Send for HeaderMatchPatternBuilder
impl Sync for HeaderMatchPatternBuilder
impl Unpin for HeaderMatchPatternBuilder
impl UnwindSafe for HeaderMatchPatternBuilder
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