Package com.amazonaws.services.iot.model
Class GetTopicRuleResult
- java.lang.Object
-
- com.amazonaws.services.iot.model.GetTopicRuleResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetTopicRuleResult extends Object implements Serializable, Cloneable
The output from the GetTopicRule operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetTopicRuleResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTopicRuleResultclone()booleanequals(Object obj)TopicRulegetRule()The rule.StringgetRuleArn()The rule ARN.inthashCode()voidsetRule(TopicRule rule)The rule.voidsetRuleArn(String ruleArn)The rule ARN.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetTopicRuleResultwithRule(TopicRule rule)The rule.GetTopicRuleResultwithRuleArn(String ruleArn)The rule ARN.
-
-
-
Method Detail
-
setRuleArn
public void setRuleArn(String ruleArn)
The rule ARN.
- Parameters:
ruleArn- The rule ARN.
-
getRuleArn
public String getRuleArn()
The rule ARN.
- Returns:
- The rule ARN.
-
withRuleArn
public GetTopicRuleResult withRuleArn(String ruleArn)
The rule ARN.
- Parameters:
ruleArn- The rule ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRule
public void setRule(TopicRule rule)
The rule.
- Parameters:
rule- The rule.
-
getRule
public TopicRule getRule()
The rule.
- Returns:
- The rule.
-
withRule
public GetTopicRuleResult withRule(TopicRule rule)
The rule.
- Parameters:
rule- The rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetTopicRuleResult clone()
-
-