Package com.amazonaws.services.waf.model
Class WebACLUpdate
- java.lang.Object
-
- com.amazonaws.services.waf.model.WebACLUpdate
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class WebACLUpdate extends Object implements Serializable, Cloneable
Specifies whether to insert a
Rule
into or delete aRule
from aWebACL
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebACLUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebACLUpdate
clone()
boolean
equals(Object obj)
String
getAction()
Specifies whether to insert aRule
into or delete aRule
from aWebACL
.ActivatedRule
getActivatedRule()
int
hashCode()
void
setAction(ChangeAction action)
Specifies whether to insert aRule
into or delete aRule
from aWebACL
.void
setAction(String action)
Specifies whether to insert aRule
into or delete aRule
from aWebACL
.void
setActivatedRule(ActivatedRule activatedRule)
String
toString()
Returns a string representation of this object; useful for testing and debugging.WebACLUpdate
withAction(ChangeAction action)
Specifies whether to insert aRule
into or delete aRule
from aWebACL
.WebACLUpdate
withAction(String action)
Specifies whether to insert aRule
into or delete aRule
from aWebACL
.WebACLUpdate
withActivatedRule(ActivatedRule activatedRule)
-
-
-
Method Detail
-
setAction
public void setAction(String action)
Specifies whether to insert a
Rule
into or delete aRule
from aWebACL
.- Parameters:
action
- Specifies whether to insert aRule
into or delete aRule
from aWebACL
.- See Also:
ChangeAction
-
getAction
public String getAction()
Specifies whether to insert a
Rule
into or delete aRule
from aWebACL
.- Returns:
- Specifies whether to insert a
Rule
into or delete aRule
from aWebACL
. - See Also:
ChangeAction
-
withAction
public WebACLUpdate withAction(String action)
Specifies whether to insert a
Rule
into or delete aRule
from aWebACL
.- Parameters:
action
- Specifies whether to insert aRule
into or delete aRule
from aWebACL
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeAction
-
setAction
public void setAction(ChangeAction action)
Specifies whether to insert a
Rule
into or delete aRule
from aWebACL
.- Parameters:
action
- Specifies whether to insert aRule
into or delete aRule
from aWebACL
.- See Also:
ChangeAction
-
withAction
public WebACLUpdate withAction(ChangeAction action)
Specifies whether to insert a
Rule
into or delete aRule
from aWebACL
.- Parameters:
action
- Specifies whether to insert aRule
into or delete aRule
from aWebACL
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeAction
-
setActivatedRule
public void setActivatedRule(ActivatedRule activatedRule)
- Parameters:
activatedRule
-
-
getActivatedRule
public ActivatedRule getActivatedRule()
- Returns:
-
withActivatedRule
public WebACLUpdate withActivatedRule(ActivatedRule activatedRule)
- Parameters:
activatedRule
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public WebACLUpdate clone()
-
-