@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AllowAction extends Object implements Serializable, Cloneable, StructuredPojo
Specifies that WAF should allow the request and 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 |
|---|
AllowAction() |
| Modifier and Type | Method and Description |
|---|---|
AllowAction |
clone() |
boolean |
equals(Object obj) |
CustomRequestHandling |
getCustomRequestHandling()
Defines custom handling for the web request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCustomRequestHandling(CustomRequestHandling customRequestHandling)
Defines custom handling for the web request.
|
String |
toString()
Returns a string representation of this object.
|
AllowAction |
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 WAF in the 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 WAF in the 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 WAF in the WAF Developer Guide.
For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.
public AllowAction 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 WAF in the 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 WAF in the WAF Developer Guide.
public String toString()
toString in class ObjectObject.toString()public AllowAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.