Package com.amazonaws.services.iot.model
Class ListTopicRulesResult
- java.lang.Object
-
- com.amazonaws.services.iot.model.ListTopicRulesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListTopicRulesResult extends Object implements Serializable, Cloneable
The output from the ListTopicRules operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListTopicRulesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTopicRulesResult
clone()
boolean
equals(Object obj)
String
getNextToken()
A token used to retrieve the next value.List<TopicRuleListItem>
getRules()
The rules.int
hashCode()
void
setNextToken(String nextToken)
A token used to retrieve the next value.void
setRules(Collection<TopicRuleListItem> rules)
The rules.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListTopicRulesResult
withNextToken(String nextToken)
A token used to retrieve the next value.ListTopicRulesResult
withRules(TopicRuleListItem... rules)
The rules.ListTopicRulesResult
withRules(Collection<TopicRuleListItem> rules)
The rules.
-
-
-
Method Detail
-
getRules
public List<TopicRuleListItem> getRules()
The rules.
- Returns:
- The rules.
-
setRules
public void setRules(Collection<TopicRuleListItem> rules)
The rules.
- Parameters:
rules
- The rules.
-
withRules
public ListTopicRulesResult withRules(TopicRuleListItem... rules)
The rules.
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection)
orwithRules(java.util.Collection)
if you want to override the existing values.- Parameters:
rules
- The rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRules
public ListTopicRulesResult withRules(Collection<TopicRuleListItem> rules)
The rules.
- Parameters:
rules
- The rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
A token used to retrieve the next value.
- Parameters:
nextToken
- A token used to retrieve the next value.
-
getNextToken
public String getNextToken()
A token used to retrieve the next value.
- Returns:
- A token used to retrieve the next value.
-
withNextToken
public ListTopicRulesResult withNextToken(String nextToken)
A token used to retrieve the next value.
- Parameters:
nextToken
- A token used to retrieve the next value.- 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 ListTopicRulesResult clone()
-
-