#[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 ==
.impl StructuralPartialEq for RequestBodyAssociatedResourceTypeConfigBuilder
Auto Trait Implementations§
impl Freeze for RequestBodyAssociatedResourceTypeConfigBuilder
impl RefUnwindSafe for RequestBodyAssociatedResourceTypeConfigBuilder
impl Send for RequestBodyAssociatedResourceTypeConfigBuilder
impl Sync for RequestBodyAssociatedResourceTypeConfigBuilder
impl Unpin for RequestBodyAssociatedResourceTypeConfigBuilder
impl UnwindSafe for RequestBodyAssociatedResourceTypeConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more