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