Struct aws_sdk_wafv2::types::builders::AssociationConfigBuilder
source · #[non_exhaustive]pub struct AssociationConfigBuilder { /* private fields */ }Expand description
A builder for AssociationConfig.
Implementations§
source§impl AssociationConfigBuilder
impl AssociationConfigBuilder
sourcepub fn request_body(
self,
k: AssociatedResourceType,
v: RequestBodyAssociatedResourceTypeConfig
) -> Self
pub fn request_body( self, k: AssociatedResourceType, v: RequestBodyAssociatedResourceTypeConfig ) -> Self
Adds a key-value pair to request_body.
To override the contents of this collection use set_request_body.
Customizes the maximum size of the request body that your protected CloudFront distributions forward to WAF for inspection. The default size is 16 KB (16,384 bytes).
You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see WAF Pricing.
sourcepub fn set_request_body(
self,
input: Option<HashMap<AssociatedResourceType, RequestBodyAssociatedResourceTypeConfig>>
) -> Self
pub fn set_request_body( self, input: Option<HashMap<AssociatedResourceType, RequestBodyAssociatedResourceTypeConfig>> ) -> Self
Customizes the maximum size of the request body that your protected CloudFront distributions forward to WAF for inspection. The default size is 16 KB (16,384 bytes).
You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see WAF Pricing.
sourcepub fn get_request_body(
&self
) -> &Option<HashMap<AssociatedResourceType, RequestBodyAssociatedResourceTypeConfig>>
pub fn get_request_body( &self ) -> &Option<HashMap<AssociatedResourceType, RequestBodyAssociatedResourceTypeConfig>>
Customizes the maximum size of the request body that your protected CloudFront distributions forward to WAF for inspection. The default size is 16 KB (16,384 bytes).
You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see WAF Pricing.
sourcepub fn build(self) -> AssociationConfig
pub fn build(self) -> AssociationConfig
Consumes the builder and constructs a AssociationConfig.
Trait Implementations§
source§impl Clone for AssociationConfigBuilder
impl Clone for AssociationConfigBuilder
source§fn clone(&self) -> AssociationConfigBuilder
fn clone(&self) -> AssociationConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AssociationConfigBuilder
impl Debug for AssociationConfigBuilder
source§impl Default for AssociationConfigBuilder
impl Default for AssociationConfigBuilder
source§fn default() -> AssociationConfigBuilder
fn default() -> AssociationConfigBuilder
source§impl PartialEq for AssociationConfigBuilder
impl PartialEq for AssociationConfigBuilder
source§fn eq(&self, other: &AssociationConfigBuilder) -> bool
fn eq(&self, other: &AssociationConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.