@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociationConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies custom configurations for the associations between the web ACL and protected resources.
Use this to customize the maximum size of the request body that your protected CloudFront distributions forward to WAF for inspection. The default 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.
Constructor and Description |
---|
AssociationConfig() |
Modifier and Type | Method and Description |
---|---|
AssociationConfig |
addRequestBodyEntry(String key,
RequestBodyAssociatedResourceTypeConfig value)
Add a single RequestBody entry
|
AssociationConfig |
clearRequestBodyEntries()
Removes all the entries added into RequestBody.
|
AssociationConfig |
clone() |
boolean |
equals(Object obj) |
Map<String,RequestBodyAssociatedResourceTypeConfig> |
getRequestBody()
Customizes the maximum size of the request body that your protected CloudFront distributions forward to WAF for
inspection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRequestBody(Map<String,RequestBodyAssociatedResourceTypeConfig> requestBody)
Customizes the maximum size of the request body that your protected CloudFront distributions forward to WAF for
inspection.
|
String |
toString()
Returns a string representation of this object.
|
AssociationConfig |
withRequestBody(Map<String,RequestBodyAssociatedResourceTypeConfig> requestBody)
Customizes the maximum size of the request body that your protected CloudFront distributions forward to WAF for
inspection.
|
public Map<String,RequestBodyAssociatedResourceTypeConfig> getRequestBody()
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.
You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see WAF Pricing.
public void setRequestBody(Map<String,RequestBodyAssociatedResourceTypeConfig> requestBody)
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.
requestBody
- 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.
public AssociationConfig withRequestBody(Map<String,RequestBodyAssociatedResourceTypeConfig> requestBody)
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.
requestBody
- 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.
public AssociationConfig addRequestBodyEntry(String key, RequestBodyAssociatedResourceTypeConfig value)
public AssociationConfig clearRequestBodyEntries()
public String toString()
toString
in class Object
Object.toString()
public AssociationConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.