@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()
 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. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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)
A token used to retrieve the next value.
nextToken - A token used to retrieve the next value.public String getNextToken()
A token used to retrieve the next value.
public ListTopicRulesResult withNextToken(String nextToken)
A token used to retrieve the next value.
nextToken - A token used to retrieve the next value.public String toString()
toString in class ObjectObject.toString()public ListTopicRulesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.