Struct aws_sdk_wafv2::types::builders::HeaderOrderBuilder
source · #[non_exhaustive]pub struct HeaderOrderBuilder { /* private fields */ }
Expand description
A builder for HeaderOrder
.
Implementations§
source§impl HeaderOrderBuilder
impl HeaderOrderBuilder
sourcepub fn oversize_handling(self, input: OversizeHandling) -> Self
pub fn oversize_handling(self, input: OversizeHandling) -> Self
What WAF should do if the headers of the request are more numerous or larger than WAF can inspect. WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to WAF.
The options for oversize handling are the following:
-
CONTINUE
- Inspect the available headers normally, according to the rule inspection criteria. -
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the request. -
NO_MATCH
- Treat the web request as not matching the rule statement.
sourcepub fn set_oversize_handling(self, input: Option<OversizeHandling>) -> Self
pub fn set_oversize_handling(self, input: Option<OversizeHandling>) -> Self
What WAF should do if the headers of the request are more numerous or larger than WAF can inspect. WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to WAF.
The options for oversize handling are the following:
-
CONTINUE
- Inspect the available headers normally, according to the rule inspection criteria. -
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the request. -
NO_MATCH
- Treat the web request as not matching the rule statement.
sourcepub fn get_oversize_handling(&self) -> &Option<OversizeHandling>
pub fn get_oversize_handling(&self) -> &Option<OversizeHandling>
What WAF should do if the headers of the request are more numerous or larger than WAF can inspect. WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to WAF.
The options for oversize handling are the following:
-
CONTINUE
- Inspect the available headers normally, according to the rule inspection criteria. -
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the request. -
NO_MATCH
- Treat the web request as not matching the rule statement.
sourcepub fn build(self) -> Result<HeaderOrder, BuildError>
pub fn build(self) -> Result<HeaderOrder, BuildError>
Consumes the builder and constructs a HeaderOrder
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for HeaderOrderBuilder
impl Clone for HeaderOrderBuilder
source§fn clone(&self) -> HeaderOrderBuilder
fn clone(&self) -> HeaderOrderBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HeaderOrderBuilder
impl Debug for HeaderOrderBuilder
source§impl Default for HeaderOrderBuilder
impl Default for HeaderOrderBuilder
source§fn default() -> HeaderOrderBuilder
fn default() -> HeaderOrderBuilder
source§impl PartialEq for HeaderOrderBuilder
impl PartialEq for HeaderOrderBuilder
source§fn eq(&self, other: &HeaderOrderBuilder) -> bool
fn eq(&self, other: &HeaderOrderBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.