Package com.amazonaws.services.waf.model
Class CreateRuleResult
- java.lang.Object
-
- com.amazonaws.services.waf.model.CreateRuleResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CreateRuleResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateRuleResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateRuleResultclone()booleanequals(Object obj)StringgetChangeToken()TheChangeTokenthat you used to submit theCreateRulerequest.RulegetRule()The Rule returned in theCreateRuleresponse.inthashCode()voidsetChangeToken(String changeToken)TheChangeTokenthat you used to submit theCreateRulerequest.voidsetRule(Rule rule)The Rule returned in theCreateRuleresponse.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateRuleResultwithChangeToken(String changeToken)TheChangeTokenthat you used to submit theCreateRulerequest.CreateRuleResultwithRule(Rule rule)The Rule returned in theCreateRuleresponse.
-
-
-
Method Detail
-
setRule
public void setRule(Rule rule)
The Rule returned in the
CreateRuleresponse.- Parameters:
rule- The Rule returned in theCreateRuleresponse.
-
getRule
public Rule getRule()
The Rule returned in the
CreateRuleresponse.- Returns:
- The Rule returned in the
CreateRuleresponse.
-
withRule
public CreateRuleResult withRule(Rule rule)
The Rule returned in the
CreateRuleresponse.- Parameters:
rule- The Rule returned in theCreateRuleresponse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setChangeToken
public void setChangeToken(String changeToken)
The
ChangeTokenthat you used to submit theCreateRulerequest. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.- Parameters:
changeToken- TheChangeTokenthat you used to submit theCreateRulerequest. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.
-
getChangeToken
public String getChangeToken()
The
ChangeTokenthat you used to submit theCreateRulerequest. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.- Returns:
- The
ChangeTokenthat you used to submit theCreateRulerequest. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.
-
withChangeToken
public CreateRuleResult withChangeToken(String changeToken)
The
ChangeTokenthat you used to submit theCreateRulerequest. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.- Parameters:
changeToken- TheChangeTokenthat you used to submit theCreateRulerequest. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.- 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 CreateRuleResult clone()
-
-