public class CreateRuleResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
changeToken
The
ChangeToken that you used to submit the
CreateRule request. |
private Rule |
rule
The Rule returned in the
CreateRule response. |
Constructor and Description |
---|
CreateRuleResult() |
Modifier and Type | Method and Description |
---|---|
CreateRuleResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getChangeToken()
The
ChangeToken that you used to submit the
CreateRule request. |
Rule |
getRule()
The Rule returned in the
CreateRule response. |
int |
hashCode() |
void |
setChangeToken(java.lang.String changeToken)
The
ChangeToken that you used to submit the
CreateRule request. |
void |
setRule(Rule rule)
The Rule returned in the
CreateRule response. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateRuleResult |
withChangeToken(java.lang.String changeToken)
The
ChangeToken that you used to submit the
CreateRule request. |
CreateRuleResult |
withRule(Rule rule)
The Rule returned in the
CreateRule response. |
private java.lang.String changeToken
The ChangeToken
that you used to submit the
CreateRule
request. You can also use this value to query the
status of the request. For more information, see
GetChangeTokenStatus.
public void setRule(Rule rule)
The Rule returned in the CreateRule
response.
rule
- The Rule returned in the CreateRule
response.public Rule getRule()
The Rule returned in the CreateRule
response.
CreateRule
response.public CreateRuleResult withRule(Rule rule)
The Rule returned in the CreateRule
response.
rule
- The Rule returned in the CreateRule
response.public void setChangeToken(java.lang.String changeToken)
The ChangeToken
that you used to submit the
CreateRule
request. You can also use this value to query the
status of the request. For more information, see
GetChangeTokenStatus.
changeToken
- The ChangeToken
that you used to submit the
CreateRule
request. You can also use this value to
query the status of the request. For more information, see
GetChangeTokenStatus.public java.lang.String getChangeToken()
The ChangeToken
that you used to submit the
CreateRule
request. You can also use this value to query the
status of the request. For more information, see
GetChangeTokenStatus.
ChangeToken
that you used to submit the
CreateRule
request. You can also use this value to
query the status of the request. For more information, see
GetChangeTokenStatus.public CreateRuleResult withChangeToken(java.lang.String changeToken)
The ChangeToken
that you used to submit the
CreateRule
request. You can also use this value to query the
status of the request. For more information, see
GetChangeTokenStatus.
changeToken
- The ChangeToken
that you used to submit the
CreateRule
request. You can also use this value to
query the status of the request. For more information, see
GetChangeTokenStatus.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 CreateRuleResult clone()
clone
in class java.lang.Object