#[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, API Gateway, Amazon Cognito, App Runner, or Verified Access resource 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 bytes)
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, API Gateway, Amazon Cognito, App Runner, or Verified Access resource 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 bytes)
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, API Gateway, Amazon Cognito, App Runner, or Verified Access resource 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 bytes)
sourcepub fn build(
self
) -> Result<RequestBodyAssociatedResourceTypeConfig, BuildError>
pub fn build( self ) -> Result<RequestBodyAssociatedResourceTypeConfig, BuildError>
Consumes the builder and constructs a RequestBodyAssociatedResourceTypeConfig
.
This method will fail if any of the following fields are not set:
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 for RequestBodyAssociatedResourceTypeConfigBuilder
impl PartialEq 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 ==
.