@Generated(value="software.amazon.awssdk:codegen") public final class RequestBodyAssociatedResourceTypeConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RequestBodyAssociatedResourceTypeConfig.Builder,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.
This is used in the AssociationConfig of the web ACL.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RequestBodyAssociatedResourceTypeConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RequestBodyAssociatedResourceTypeConfig.Builder |
builder() |
SizeInspectionLimit |
defaultSizeInspectionLimit()
Specifies the maximum size of the web request body component that an associated CloudFront distribution should
send to WAF for inspection.
|
String |
defaultSizeInspectionLimitAsString()
Specifies the maximum size of the web request body component that an associated CloudFront distribution should
send to WAF for inspection.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends RequestBodyAssociatedResourceTypeConfig.Builder> |
serializableBuilderClass() |
RequestBodyAssociatedResourceTypeConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 bytes)
If the service returns an enum value that is not available in the current SDK version,
defaultSizeInspectionLimit will return SizeInspectionLimit.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from defaultSizeInspectionLimitAsString().
Default: 16 KB (16,384 bytes)
SizeInspectionLimitpublic final String defaultSizeInspectionLimitAsString()
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 bytes)
If the service returns an enum value that is not available in the current SDK version,
defaultSizeInspectionLimit will return SizeInspectionLimit.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from defaultSizeInspectionLimitAsString().
Default: 16 KB (16,384 bytes)
SizeInspectionLimitpublic RequestBodyAssociatedResourceTypeConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RequestBodyAssociatedResourceTypeConfig.Builder,RequestBodyAssociatedResourceTypeConfig>public static RequestBodyAssociatedResourceTypeConfig.Builder builder()
public static Class<? extends RequestBodyAssociatedResourceTypeConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.