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