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 ==
.