@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRulesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRulesResult() |
Modifier and Type | Method and Description |
---|---|
ListRulesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
Indicates whether there are additional results to retrieve.
|
List<Rule> |
getRules()
The rules that match the specified criteria.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Indicates whether there are additional results to retrieve.
|
void |
setRules(Collection<Rule> rules)
The rules that match the specified criteria.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListRulesResult |
withNextToken(String nextToken)
Indicates whether there are additional results to retrieve.
|
ListRulesResult |
withRules(Collection<Rule> rules)
The rules that match the specified criteria.
|
ListRulesResult |
withRules(Rule... rules)
The rules that match the specified criteria.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Rule> getRules()
The rules that match the specified criteria.
public void setRules(Collection<Rule> rules)
The rules that match the specified criteria.
rules
- The rules that match the specified criteria.public ListRulesResult withRules(Rule... rules)
The rules that match 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
- The rules that match the specified criteria.public ListRulesResult withRules(Collection<Rule> rules)
The rules that match the specified criteria.
rules
- The rules that match the specified criteria.public void setNextToken(String nextToken)
Indicates whether there are additional results to retrieve. If there are no more results, the value is null.
nextToken
- Indicates whether there are additional results to retrieve. If there are no more results, the value is
null.public String getNextToken()
Indicates whether there are additional results to retrieve. If there are no more results, the value is null.
public ListRulesResult withNextToken(String nextToken)
Indicates whether there are additional results to retrieve. If there are no more results, the value is null.
nextToken
- Indicates whether there are additional results to retrieve. If there are no more results, the value is
null.public String toString()
toString
in class Object
Object.toString()
public ListRulesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.