public class ListTopicRulesResult
extends java.lang.Object
implements java.io.Serializable
The output from the ListTopicRules operation.
| Constructor and Description | 
|---|
| ListTopicRulesResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.String | getNextToken()
 The token to use to get the next set of results, or null if there
 are no additional results. | 
| java.util.List<TopicRuleListItem> | getRules()
 The rules. | 
| int | hashCode() | 
| void | setNextToken(java.lang.String nextToken)
 The token to use to get the next set of results, or null if there
 are no additional results. | 
| 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)
 The token to use to get the next set of results, or null if there
 are no additional results. | 
| ListTopicRulesResult | withRules(java.util.Collection<TopicRuleListItem> rules)
 The rules. | 
| ListTopicRulesResult | withRules(TopicRuleListItem... rules)
 The rules. | 
public java.util.List<TopicRuleListItem> getRules()
The rules.
The rules.
public void setRules(java.util.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(java.util.Collection<TopicRuleListItem> rules)
The rules.
Returns a reference to this object so that method calls can be chained together.
rules - The rules.
public java.lang.String getNextToken()
The token to use to get the next set of results, or null if there are no additional results.
The token to use to get the next set of results, or null if there are no additional results.
public void setNextToken(java.lang.String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
nextToken - The token to use to get the next set of results, or null if there are no additional results.
public ListTopicRulesResult withNextToken(java.lang.String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token to use to get the next set of results, or null if there are no additional results.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.