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 CreateRuleResult
clone()
boolean
equals(Object obj)
String
getChangeToken()
TheChangeToken
that you used to submit theCreateRule
request.Rule
getRule()
The Rule returned in theCreateRule
response.int
hashCode()
void
setChangeToken(String changeToken)
TheChangeToken
that you used to submit theCreateRule
request.void
setRule(Rule rule)
The Rule returned in theCreateRule
response.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateRuleResult
withChangeToken(String changeToken)
TheChangeToken
that you used to submit theCreateRule
request.CreateRuleResult
withRule(Rule rule)
The Rule returned in theCreateRule
response.
-
-
-
Method Detail
-
setRule
public void setRule(Rule rule)
The Rule returned in the
CreateRule
response.- Parameters:
rule
- The Rule returned in theCreateRule
response.
-
getRule
public Rule getRule()
The Rule returned in the
CreateRule
response.- Returns:
- The Rule returned in the
CreateRule
response.
-
withRule
public CreateRuleResult withRule(Rule rule)
The Rule returned in the
CreateRule
response.- Parameters:
rule
- The Rule returned in theCreateRule
response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setChangeToken
public void setChangeToken(String changeToken)
The
ChangeToken
that you used to submit theCreateRule
request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.- Parameters:
changeToken
- TheChangeToken
that you used to submit theCreateRule
request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.
-
getChangeToken
public String getChangeToken()
The
ChangeToken
that you used to submit theCreateRule
request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.- Returns:
- The
ChangeToken
that you used to submit theCreateRule
request. 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
ChangeToken
that you used to submit theCreateRule
request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.- Parameters:
changeToken
- TheChangeToken
that you used to submit theCreateRule
request. 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateRuleResult clone()
-
-