@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTopicRulesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output from the ListTopicRules operation.
Constructor and Description |
---|
ListTopicRulesResult() |
Modifier and Type | Method and Description |
---|---|
ListTopicRulesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to get the next set of results, or null if there are no additional results.
|
List<TopicRuleListItem> |
getRules()
The rules.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
|
void |
setRules(Collection<TopicRuleListItem> rules)
The rules.
|
String |
toString()
Returns a string representation of this object.
|
ListTopicRulesResult |
withNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
|
ListTopicRulesResult |
withRules(Collection<TopicRuleListItem> rules)
The rules.
|
ListTopicRulesResult |
withRules(TopicRuleListItem... rules)
The rules.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TopicRuleListItem> getRules()
The rules.
public void setRules(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(Collection<TopicRuleListItem> rules)
The rules.
rules
- The rules.public void setNextToken(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 String getNextToken()
The token to use to get the next set of results, or null if there are no additional results.
public ListTopicRulesResult withNextToken(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 String toString()
toString
in class Object
Object.toString()
public ListTopicRulesResult clone()