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