public class GetTopicRuleResult extends Object implements Serializable
The output from the GetTopicRule operation.
| Constructor and Description |
|---|
GetTopicRuleResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
TopicRule |
getRule()
The rule.
|
String |
getRuleArn()
The rule ARN.
|
int |
hashCode() |
void |
setRule(TopicRule rule)
The rule.
|
void |
setRuleArn(String ruleArn)
The rule ARN.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetTopicRuleResult |
withRule(TopicRule rule)
The rule.
|
GetTopicRuleResult |
withRuleArn(String ruleArn)
The rule ARN.
|
public String getRuleArn()
public void setRuleArn(String ruleArn)
ruleArn - The rule ARN.public GetTopicRuleResult withRuleArn(String ruleArn)
Returns a reference to this object so that method calls can be chained together.
ruleArn - The rule ARN.public TopicRule getRule()
public void setRule(TopicRule rule)
rule - The rule.public GetTopicRuleResult withRule(TopicRule rule)
Returns a reference to this object so that method calls can be chained together.
rule - The rule.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.