@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BlockAction extends Object implements Serializable, Cloneable, StructuredPojo
This is the latest version of AWS WAF, named AWS WAFV2, released in November, 2019. For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF Developer Guide.
Specifies that AWS WAF should block requests.
This is used only in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.
Constructor and Description |
---|
BlockAction() |
Modifier and Type | Method and Description |
---|---|
BlockAction |
clone() |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
toString()
Returns a string representation of this object.
|
public String toString()
toString
in class Object
Object.toString()
public BlockAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.