@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRuleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateRuleResult() |
Modifier and Type | Method and Description |
---|---|
CreateRuleResult |
clone() |
boolean |
equals(Object obj) |
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(String changeToken)
The
ChangeToken that you used to submit the CreateRule request. |
void |
setRule(Rule rule)
The Rule returned in the
CreateRule response. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateRuleResult |
withChangeToken(String changeToken)
The
ChangeToken that you used to submit the CreateRule request. |
CreateRuleResult |
withRule(Rule rule)
The Rule returned in the
CreateRule response. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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(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 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(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 String toString()
toString
in class Object
Object.toString()
public CreateRuleResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.