Class RequestBodyAssociatedResourceTypeConfig
- java.lang.Object
-
- software.amazon.awssdk.services.wafv2.model.RequestBodyAssociatedResourceTypeConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RequestBodyAssociatedResourceTypeConfig.Builder,RequestBodyAssociatedResourceTypeConfig>
@Generated("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
AssociationConfigof the web ACL.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRequestBodyAssociatedResourceTypeConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestBodyAssociatedResourceTypeConfig.Builderbuilder()SizeInspectionLimitdefaultSizeInspectionLimit()Specifies the maximum size of the web request body component that an associated CloudFront distribution should send to WAF for inspection.StringdefaultSizeInspectionLimitAsString()Specifies the maximum size of the web request body component that an associated CloudFront distribution should send to WAF for inspection.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends RequestBodyAssociatedResourceTypeConfig.Builder>serializableBuilderClass()RequestBodyAssociatedResourceTypeConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
defaultSizeInspectionLimit
public 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,
defaultSizeInspectionLimitwill returnSizeInspectionLimit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdefaultSizeInspectionLimitAsString().- Returns:
- 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) - See Also:
SizeInspectionLimit
-
defaultSizeInspectionLimitAsString
public 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,
defaultSizeInspectionLimitwill returnSizeInspectionLimit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdefaultSizeInspectionLimitAsString().- Returns:
- 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) - See Also:
SizeInspectionLimit
-
toBuilder
public RequestBodyAssociatedResourceTypeConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RequestBodyAssociatedResourceTypeConfig.Builder,RequestBodyAssociatedResourceTypeConfig>
-
builder
public static RequestBodyAssociatedResourceTypeConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends RequestBodyAssociatedResourceTypeConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-