public class WebACLUpdate
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Specifies whether to insert a Rule
into or delete a
Rule
from a WebACL
.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
action
Specifies whether to insert a
Rule into or delete a
Rule from a WebACL . |
private ActivatedRule |
activatedRule |
Constructor and Description |
---|
WebACLUpdate() |
Modifier and Type | Method and Description |
---|---|
WebACLUpdate |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAction()
Specifies whether to insert a
Rule into or delete a
Rule from a WebACL . |
ActivatedRule |
getActivatedRule() |
int |
hashCode() |
void |
setAction(ChangeAction action)
Specifies whether to insert a
Rule into or delete a
Rule from a WebACL . |
void |
setAction(java.lang.String action)
Specifies whether to insert a
Rule into or delete a
Rule from a WebACL . |
void |
setActivatedRule(ActivatedRule activatedRule) |
java.lang.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(java.lang.String action)
Specifies whether to insert a
Rule into or delete a
Rule from a WebACL . |
WebACLUpdate |
withActivatedRule(ActivatedRule activatedRule) |
private java.lang.String action
Specifies whether to insert a Rule
into or delete a
Rule
from a WebACL
.
private ActivatedRule activatedRule
public void setAction(java.lang.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
.ChangeAction
public java.lang.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
.ChangeAction
public WebACLUpdate withAction(java.lang.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
.ChangeAction
public 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
.ChangeAction
public 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
.ChangeAction
public void setActivatedRule(ActivatedRule activatedRule)
activatedRule
- public ActivatedRule getActivatedRule()
public WebACLUpdate withActivatedRule(ActivatedRule activatedRule)
activatedRule
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public WebACLUpdate clone()
clone
in class java.lang.Object