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
Ruleinto or delete aRulefrom aWebACL.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebACLUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebACLUpdateclone()booleanequals(Object obj)StringgetAction()Specifies whether to insert aRuleinto or delete aRulefrom aWebACL.ActivatedRulegetActivatedRule()inthashCode()voidsetAction(ChangeAction action)Specifies whether to insert aRuleinto or delete aRulefrom aWebACL.voidsetAction(String action)Specifies whether to insert aRuleinto or delete aRulefrom aWebACL.voidsetActivatedRule(ActivatedRule activatedRule)StringtoString()Returns a string representation of this object; useful for testing and debugging.WebACLUpdatewithAction(ChangeAction action)Specifies whether to insert aRuleinto or delete aRulefrom aWebACL.WebACLUpdatewithAction(String action)Specifies whether to insert aRuleinto or delete aRulefrom aWebACL.WebACLUpdatewithActivatedRule(ActivatedRule activatedRule)
-
-
-
Method Detail
-
setAction
public void setAction(String action)
Specifies whether to insert a
Ruleinto or delete aRulefrom aWebACL.- Parameters:
action- Specifies whether to insert aRuleinto or delete aRulefrom aWebACL.- See Also:
ChangeAction
-
getAction
public String getAction()
Specifies whether to insert a
Ruleinto or delete aRulefrom aWebACL.- Returns:
- Specifies whether to insert a
Ruleinto or delete aRulefrom aWebACL. - See Also:
ChangeAction
-
withAction
public WebACLUpdate withAction(String action)
Specifies whether to insert a
Ruleinto or delete aRulefrom aWebACL.- Parameters:
action- Specifies whether to insert aRuleinto or delete aRulefrom 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
Ruleinto or delete aRulefrom aWebACL.- Parameters:
action- Specifies whether to insert aRuleinto or delete aRulefrom aWebACL.- See Also:
ChangeAction
-
withAction
public WebACLUpdate withAction(ChangeAction action)
Specifies whether to insert a
Ruleinto or delete aRulefrom aWebACL.- Parameters:
action- Specifies whether to insert aRuleinto or delete aRulefrom 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public WebACLUpdate clone()
-
-