public class ListTopicRulesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The output from the ListTopicRules operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
A token used to retrieve the next value.
|
private java.util.List<TopicRuleListItem> |
rules
The rules.
|
Constructor and Description |
---|
ListTopicRulesResult() |
Modifier and Type | Method and Description |
---|---|
ListTopicRulesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
A token used to retrieve the next value.
|
java.util.List<TopicRuleListItem> |
getRules()
The rules.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
A token used to retrieve the next value.
|
void |
setRules(java.util.Collection<TopicRuleListItem> rules)
The rules.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTopicRulesResult |
withNextToken(java.lang.String nextToken)
A token used to retrieve the next value.
|
ListTopicRulesResult |
withRules(java.util.Collection<TopicRuleListItem> rules)
The rules.
|
ListTopicRulesResult |
withRules(TopicRuleListItem... rules)
The rules.
|
private java.util.List<TopicRuleListItem> rules
The rules.
private java.lang.String nextToken
A token used to retrieve the next value.
public java.util.List<TopicRuleListItem> getRules()
The rules.
public void setRules(java.util.Collection<TopicRuleListItem> rules)
The rules.
rules
- The rules.public ListTopicRulesResult withRules(TopicRuleListItem... rules)
The rules.
NOTE: This method appends the values to the existing list (if
any). Use setRules(java.util.Collection)
or
withRules(java.util.Collection)
if you want to override the
existing values.
rules
- The rules.public ListTopicRulesResult withRules(java.util.Collection<TopicRuleListItem> rules)
The rules.
rules
- The rules.public void setNextToken(java.lang.String nextToken)
A token used to retrieve the next value.
nextToken
- A token used to retrieve the next value.public java.lang.String getNextToken()
A token used to retrieve the next value.
public ListTopicRulesResult withNextToken(java.lang.String nextToken)
A token used to retrieve the next value.
nextToken
- A token used to retrieve the next value.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListTopicRulesResult clone()
clone
in class java.lang.Object