@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WebACLUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Specifies whether to insert a Rule into or delete a Rule from a WebACL.
| Constructor and Description |
|---|
WebACLUpdate() |
| Modifier and Type | Method and Description |
|---|---|
WebACLUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
Specifies whether to insert a
Rule into or delete a Rule from a WebACL. |
ActivatedRule |
getActivatedRule()
The
ActivatedRule object in an UpdateWebACL request specifies a Rule that you
want to insert or delete, the priority of the Rule in the WebACL, and the action that
you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK
, or COUNT). |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(ChangeAction action)
Specifies whether to insert a
Rule into or delete a Rule from a WebACL. |
void |
setAction(String action)
Specifies whether to insert a
Rule into or delete a Rule from a WebACL. |
void |
setActivatedRule(ActivatedRule activatedRule)
The
ActivatedRule object in an UpdateWebACL request specifies a Rule that you
want to insert or delete, the priority of the Rule in the WebACL, and the action that
you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK
, or COUNT). |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
WebACLUpdate |
withAction(ChangeAction action)
Specifies whether to insert a
Rule into or delete a Rule from a WebACL. |
WebACLUpdate |
withAction(String action)
Specifies whether to insert a
Rule into or delete a Rule from a WebACL. |
WebACLUpdate |
withActivatedRule(ActivatedRule activatedRule)
The
ActivatedRule object in an UpdateWebACL request specifies a Rule that you
want to insert or delete, the priority of the Rule in the WebACL, and the action that
you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK
, or COUNT). |
public void setAction(String action)
Specifies whether to insert a Rule into or delete a Rule from a WebACL.
action - Specifies whether to insert a Rule into or delete a Rule from a
WebACL.ChangeActionpublic String getAction()
Specifies whether to insert a Rule into or delete a Rule from a WebACL.
Rule into or delete a Rule from a
WebACL.ChangeActionpublic WebACLUpdate withAction(String action)
Specifies whether to insert a Rule into or delete a Rule from a WebACL.
action - Specifies whether to insert a Rule into or delete a Rule from a
WebACL.ChangeActionpublic void setAction(ChangeAction action)
Specifies whether to insert a Rule into or delete a Rule from a WebACL.
action - Specifies whether to insert a Rule into or delete a Rule from a
WebACL.ChangeActionpublic WebACLUpdate withAction(ChangeAction action)
Specifies whether to insert a Rule into or delete a Rule from a WebACL.
action - Specifies whether to insert a Rule into or delete a Rule from a
WebACL.ChangeActionpublic void setActivatedRule(ActivatedRule activatedRule)
The ActivatedRule object in an UpdateWebACL request specifies a Rule that you
want to insert or delete, the priority of the Rule in the WebACL, and the action that
you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK
, or COUNT).
activatedRule - The ActivatedRule object in an UpdateWebACL request specifies a Rule that
you want to insert or delete, the priority of the Rule in the WebACL, and the
action that you want AWS WAF to take when a web request matches the Rule (ALLOW,
BLOCK, or COUNT).public ActivatedRule getActivatedRule()
The ActivatedRule object in an UpdateWebACL request specifies a Rule that you
want to insert or delete, the priority of the Rule in the WebACL, and the action that
you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK
, or COUNT).
ActivatedRule object in an UpdateWebACL request specifies a Rule
that you want to insert or delete, the priority of the Rule in the WebACL, and
the action that you want AWS WAF to take when a web request matches the Rule (
ALLOW, BLOCK, or COUNT).public WebACLUpdate withActivatedRule(ActivatedRule activatedRule)
The ActivatedRule object in an UpdateWebACL request specifies a Rule that you
want to insert or delete, the priority of the Rule in the WebACL, and the action that
you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK
, or COUNT).
activatedRule - The ActivatedRule object in an UpdateWebACL request specifies a Rule that
you want to insert or delete, the priority of the Rule in the WebACL, and the
action that you want AWS WAF to take when a web request matches the Rule (ALLOW,
BLOCK, or COUNT).public String toString()
toString in class ObjectObject.toString()public WebACLUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.