@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CountAction extends Object implements Serializable, Cloneable, StructuredPojo
Specifies that AWS WAF should count the request. Optionally defines additional custom handling for the request.
This is used in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.
| Constructor and Description |
|---|
CountAction() |
| Modifier and Type | Method and Description |
|---|---|
CountAction |
clone() |
boolean |
equals(Object obj) |
CustomRequestHandling |
getCustomRequestHandling()
Defines custom handling for the web request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCustomRequestHandling(CustomRequestHandling customRequestHandling)
Defines custom handling for the web request.
|
String |
toString()
Returns a string representation of this object.
|
CountAction |
withCustomRequestHandling(CustomRequestHandling customRequestHandling)
Defines custom handling for the web request.
|
public void setCustomRequestHandling(CustomRequestHandling customRequestHandling)
Defines custom handling for the web request.
For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide.
customRequestHandling - Defines custom handling for the web request.
For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide.
public CustomRequestHandling getCustomRequestHandling()
Defines custom handling for the web request.
For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide.
For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide.
public CountAction withCustomRequestHandling(CustomRequestHandling customRequestHandling)
Defines custom handling for the web request.
For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide.
customRequestHandling - Defines custom handling for the web request.
For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide.
public String toString()
toString in class ObjectObject.toString()public CountAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.