@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRateBasedRuleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateRateBasedRuleResult() |
Modifier and Type | Method and Description |
---|---|
CreateRateBasedRuleResult |
clone() |
boolean |
equals(Object obj) |
String |
getChangeToken()
The
ChangeToken that you used to submit the CreateRateBasedRule request. |
RateBasedRule |
getRule()
The RateBasedRule that is returned in the
CreateRateBasedRule response. |
int |
hashCode() |
void |
setChangeToken(String changeToken)
The
ChangeToken that you used to submit the CreateRateBasedRule request. |
void |
setRule(RateBasedRule rule)
The RateBasedRule that is returned in the
CreateRateBasedRule response. |
String |
toString()
Returns a string representation of this object.
|
CreateRateBasedRuleResult |
withChangeToken(String changeToken)
The
ChangeToken that you used to submit the CreateRateBasedRule request. |
CreateRateBasedRuleResult |
withRule(RateBasedRule rule)
The RateBasedRule that is returned in the
CreateRateBasedRule response. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRule(RateBasedRule rule)
The RateBasedRule that is returned in the CreateRateBasedRule
response.
rule
- The RateBasedRule that is returned in the CreateRateBasedRule
response.public RateBasedRule getRule()
The RateBasedRule that is returned in the CreateRateBasedRule
response.
CreateRateBasedRule
response.public CreateRateBasedRuleResult withRule(RateBasedRule rule)
The RateBasedRule that is returned in the CreateRateBasedRule
response.
rule
- The RateBasedRule that is returned in the CreateRateBasedRule
response.public void setChangeToken(String changeToken)
The ChangeToken
that you used to submit the CreateRateBasedRule
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 CreateRateBasedRule
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 CreateRateBasedRule
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 CreateRateBasedRule
request. You
can also use this value to query the status of the request. For more information, see
GetChangeTokenStatus.public CreateRateBasedRuleResult withChangeToken(String changeToken)
The ChangeToken
that you used to submit the CreateRateBasedRule
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 CreateRateBasedRule
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 CreateRateBasedRuleResult clone()