Struct aws_sdk_wafv2::types::builders::ResponseInspectionBuilder
source · #[non_exhaustive]pub struct ResponseInspectionBuilder { /* private fields */ }
Expand description
A builder for ResponseInspection
.
Implementations§
source§impl ResponseInspectionBuilder
impl ResponseInspectionBuilder
sourcepub fn status_code(self, input: ResponseInspectionStatusCode) -> Self
pub fn status_code(self, input: ResponseInspectionStatusCode) -> Self
Configures inspection of the response status code for success and failure indicators.
sourcepub fn set_status_code(
self,
input: Option<ResponseInspectionStatusCode>
) -> Self
pub fn set_status_code( self, input: Option<ResponseInspectionStatusCode> ) -> Self
Configures inspection of the response status code for success and failure indicators.
sourcepub fn get_status_code(&self) -> &Option<ResponseInspectionStatusCode>
pub fn get_status_code(&self) -> &Option<ResponseInspectionStatusCode>
Configures inspection of the response status code for success and failure indicators.
sourcepub fn header(self, input: ResponseInspectionHeader) -> Self
pub fn header(self, input: ResponseInspectionHeader) -> Self
Configures inspection of the response header for success and failure indicators.
sourcepub fn set_header(self, input: Option<ResponseInspectionHeader>) -> Self
pub fn set_header(self, input: Option<ResponseInspectionHeader>) -> Self
Configures inspection of the response header for success and failure indicators.
sourcepub fn get_header(&self) -> &Option<ResponseInspectionHeader>
pub fn get_header(&self) -> &Option<ResponseInspectionHeader>
Configures inspection of the response header for success and failure indicators.
sourcepub fn body_contains(self, input: ResponseInspectionBodyContains) -> Self
pub fn body_contains(self, input: ResponseInspectionBodyContains) -> Self
Configures inspection of the response body for success and failure indicators. WAF can inspect the first 65,536 bytes (64 KB) of the response body.
sourcepub fn set_body_contains(
self,
input: Option<ResponseInspectionBodyContains>
) -> Self
pub fn set_body_contains( self, input: Option<ResponseInspectionBodyContains> ) -> Self
Configures inspection of the response body for success and failure indicators. WAF can inspect the first 65,536 bytes (64 KB) of the response body.
sourcepub fn get_body_contains(&self) -> &Option<ResponseInspectionBodyContains>
pub fn get_body_contains(&self) -> &Option<ResponseInspectionBodyContains>
Configures inspection of the response body for success and failure indicators. WAF can inspect the first 65,536 bytes (64 KB) of the response body.
sourcepub fn json(self, input: ResponseInspectionJson) -> Self
pub fn json(self, input: ResponseInspectionJson) -> Self
Configures inspection of the response JSON for success and failure indicators. WAF can inspect the first 65,536 bytes (64 KB) of the response JSON.
sourcepub fn set_json(self, input: Option<ResponseInspectionJson>) -> Self
pub fn set_json(self, input: Option<ResponseInspectionJson>) -> Self
Configures inspection of the response JSON for success and failure indicators. WAF can inspect the first 65,536 bytes (64 KB) of the response JSON.
sourcepub fn get_json(&self) -> &Option<ResponseInspectionJson>
pub fn get_json(&self) -> &Option<ResponseInspectionJson>
Configures inspection of the response JSON for success and failure indicators. WAF can inspect the first 65,536 bytes (64 KB) of the response JSON.
sourcepub fn build(self) -> ResponseInspection
pub fn build(self) -> ResponseInspection
Consumes the builder and constructs a ResponseInspection
.
Trait Implementations§
source§impl Clone for ResponseInspectionBuilder
impl Clone for ResponseInspectionBuilder
source§fn clone(&self) -> ResponseInspectionBuilder
fn clone(&self) -> ResponseInspectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResponseInspectionBuilder
impl Debug for ResponseInspectionBuilder
source§impl Default for ResponseInspectionBuilder
impl Default for ResponseInspectionBuilder
source§fn default() -> ResponseInspectionBuilder
fn default() -> ResponseInspectionBuilder
source§impl PartialEq for ResponseInspectionBuilder
impl PartialEq for ResponseInspectionBuilder
source§fn eq(&self, other: &ResponseInspectionBuilder) -> bool
fn eq(&self, other: &ResponseInspectionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResponseInspectionBuilder
Auto Trait Implementations§
impl Freeze for ResponseInspectionBuilder
impl RefUnwindSafe for ResponseInspectionBuilder
impl Send for ResponseInspectionBuilder
impl Sync for ResponseInspectionBuilder
impl Unpin for ResponseInspectionBuilder
impl UnwindSafe for ResponseInspectionBuilder
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> 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