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 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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetTopicRuleResult clone()
-
-