@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetTopicRuleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output from the GetTopicRule operation.
Constructor and Description |
---|
GetTopicRuleResult() |
Modifier and Type | Method and Description |
---|---|
GetTopicRuleResult |
clone() |
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRuleArn(String ruleArn)
The rule ARN.
ruleArn
- The rule ARN.public String getRuleArn()
The rule ARN.
public GetTopicRuleResult withRuleArn(String ruleArn)
The rule ARN.
ruleArn
- The rule ARN.public void setRule(TopicRule rule)
The rule.
rule
- The rule.public TopicRule getRule()
The rule.
public GetTopicRuleResult withRule(TopicRule rule)
The rule.
rule
- The rule.public String toString()
toString
in class Object
Object.toString()
public GetTopicRuleResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.