#[non_exhaustive]pub struct RequestBodyAssociatedResourceTypeConfigBuilder { /* private fields */ }Expand description
A builder for RequestBodyAssociatedResourceTypeConfig.
Implementations§
source§impl RequestBodyAssociatedResourceTypeConfigBuilder
impl RequestBodyAssociatedResourceTypeConfigBuilder
sourcepub fn default_size_inspection_limit(self, input: SizeInspectionLimit) -> Self
pub fn default_size_inspection_limit(self, input: SizeInspectionLimit) -> Self
Specifies the maximum size of the web request body component that an associated CloudFront distribution should send to WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body.
Default: 16 KB (16,384 kilobytes)
sourcepub fn set_default_size_inspection_limit(
self,
input: Option<SizeInspectionLimit>
) -> Self
pub fn set_default_size_inspection_limit( self, input: Option<SizeInspectionLimit> ) -> Self
Specifies the maximum size of the web request body component that an associated CloudFront distribution should send to WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body.
Default: 16 KB (16,384 kilobytes)
sourcepub fn get_default_size_inspection_limit(&self) -> &Option<SizeInspectionLimit>
pub fn get_default_size_inspection_limit(&self) -> &Option<SizeInspectionLimit>
Specifies the maximum size of the web request body component that an associated CloudFront distribution should send to WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body.
Default: 16 KB (16,384 kilobytes)
sourcepub fn build(self) -> RequestBodyAssociatedResourceTypeConfig
pub fn build(self) -> RequestBodyAssociatedResourceTypeConfig
Consumes the builder and constructs a RequestBodyAssociatedResourceTypeConfig.
Trait Implementations§
source§impl Clone for RequestBodyAssociatedResourceTypeConfigBuilder
impl Clone for RequestBodyAssociatedResourceTypeConfigBuilder
source§fn clone(&self) -> RequestBodyAssociatedResourceTypeConfigBuilder
fn clone(&self) -> RequestBodyAssociatedResourceTypeConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for RequestBodyAssociatedResourceTypeConfigBuilder
impl Default for RequestBodyAssociatedResourceTypeConfigBuilder
source§fn default() -> RequestBodyAssociatedResourceTypeConfigBuilder
fn default() -> RequestBodyAssociatedResourceTypeConfigBuilder
source§impl PartialEq<RequestBodyAssociatedResourceTypeConfigBuilder> for RequestBodyAssociatedResourceTypeConfigBuilder
impl PartialEq<RequestBodyAssociatedResourceTypeConfigBuilder> for RequestBodyAssociatedResourceTypeConfigBuilder
source§fn eq(&self, other: &RequestBodyAssociatedResourceTypeConfigBuilder) -> bool
fn eq(&self, other: &RequestBodyAssociatedResourceTypeConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.