public class ListRulesResult extends Object implements Serializable, Cloneable
The result of the ListRules operation.
Constructor and Description |
---|
ListRulesResult() |
Modifier and Type | Method and Description |
---|---|
ListRulesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
Indicates that there are additional results to retrieve.
|
List<Rule> |
getRules()
List of rules matching the specified criteria.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Indicates that there are additional results to retrieve.
|
void |
setRules(Collection<Rule> rules)
List of rules matching the specified criteria.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListRulesResult |
withNextToken(String nextToken)
Indicates that there are additional results to retrieve.
|
ListRulesResult |
withRules(Collection<Rule> rules)
List of rules matching the specified criteria.
|
ListRulesResult |
withRules(Rule... rules)
List of rules matching the specified criteria.
|
public List<Rule> getRules()
List of rules matching the specified criteria.
public void setRules(Collection<Rule> rules)
List of rules matching the specified criteria.
rules
- List of rules matching the specified criteria.public ListRulesResult withRules(Rule... rules)
List of rules matching the specified criteria.
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
- List of rules matching the specified criteria.public ListRulesResult withRules(Collection<Rule> rules)
List of rules matching the specified criteria.
rules
- List of rules matching the specified criteria.public void setNextToken(String nextToken)
Indicates that there are additional results to retrieve.
nextToken
- Indicates that there are additional results to retrieve.public String getNextToken()
Indicates that there are additional results to retrieve.
public ListRulesResult withNextToken(String nextToken)
Indicates that there are additional results to retrieve.
nextToken
- Indicates that there are additional results to retrieve.public String toString()
toString
in class Object
Object.toString()
public ListRulesResult clone()
Copyright © 2018. All rights reserved.