@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RequestBodyAssociatedResourceTypeConfig extends Object implements Serializable, Cloneable, StructuredPojo
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 kilobytes).
You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see WAF Pricing.
This is used in the AssociationConfig of the web ACL.
| Constructor and Description |
|---|
RequestBodyAssociatedResourceTypeConfig() |
| Modifier and Type | Method and Description |
|---|---|
RequestBodyAssociatedResourceTypeConfig |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultSizeInspectionLimit()
Specifies the maximum size of the web request body component that an associated CloudFront distribution should
send to WAF for inspection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDefaultSizeInspectionLimit(String defaultSizeInspectionLimit)
Specifies the maximum size of the web request body component that an associated CloudFront distribution should
send to WAF for inspection.
|
String |
toString()
Returns a string representation of this object.
|
RequestBodyAssociatedResourceTypeConfig |
withDefaultSizeInspectionLimit(SizeInspectionLimit defaultSizeInspectionLimit)
Specifies the maximum size of the web request body component that an associated CloudFront distribution should
send to WAF for inspection.
|
RequestBodyAssociatedResourceTypeConfig |
withDefaultSizeInspectionLimit(String defaultSizeInspectionLimit)
Specifies the maximum size of the web request body component that an associated CloudFront distribution should
send to WAF for inspection.
|
public RequestBodyAssociatedResourceTypeConfig()
public void setDefaultSizeInspectionLimit(String defaultSizeInspectionLimit)
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)
defaultSizeInspectionLimit - 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)
SizeInspectionLimitpublic String getDefaultSizeInspectionLimit()
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)
Default: 16 KB (16,384 kilobytes)
SizeInspectionLimitpublic RequestBodyAssociatedResourceTypeConfig withDefaultSizeInspectionLimit(String defaultSizeInspectionLimit)
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)
defaultSizeInspectionLimit - 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)
SizeInspectionLimitpublic RequestBodyAssociatedResourceTypeConfig withDefaultSizeInspectionLimit(SizeInspectionLimit defaultSizeInspectionLimit)
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)
defaultSizeInspectionLimit - 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)
SizeInspectionLimitpublic String toString()
toString in class ObjectObject.toString()public RequestBodyAssociatedResourceTypeConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.