public class ListTopicRulesResult extends Object implements Serializable
The output from the ListTopicRules operation.
| Constructor and Description |
|---|
ListTopicRulesResult() |
| Modifier and Type | Method and Description |
|---|---|
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(Collection<TopicRuleListItem> rules)
The rules.
|
ListTopicRulesResult |
withRules(TopicRuleListItem... rules)
The rules.
|
public List<TopicRuleListItem> getRules()
The rules.
The rules.
public void setRules(Collection<TopicRuleListItem> rules)
The rules.
rules - The rules.
public ListTopicRulesResult withRules(TopicRuleListItem... rules)
The rules.
Returns a reference to this object so that method calls can be chained together.
rules - The rules.
public ListTopicRulesResult withRules(Collection<TopicRuleListItem> rules)
The rules.
Returns a reference to this object so that method calls can be chained together.
rules - The rules.
public String getNextToken()
A token used to retrieve the next value.
A token used to retrieve the next value.
public void setNextToken(String nextToken)
A token used to retrieve the next value.
nextToken - A token used to retrieve the next value.
public ListTopicRulesResult withNextToken(String nextToken)
A token used to retrieve the next value.
Returns a reference to this object so that method calls can be chained together.
nextToken - A token used to retrieve the next value.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.