@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRuleSetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRuleSetsResult() |
Modifier and Type | Method and Description |
---|---|
ListRuleSetsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If NextToken is returned, there are more results available.
|
List<RuleSet> |
getRuleSets()
The list of rule sets.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If NextToken is returned, there are more results available.
|
void |
setRuleSets(Collection<RuleSet> ruleSets)
The list of rule sets.
|
String |
toString()
Returns a string representation of this object.
|
ListRuleSetsResult |
withNextToken(String nextToken)
If NextToken is returned, there are more results available.
|
ListRuleSetsResult |
withRuleSets(Collection<RuleSet> ruleSets)
The list of rule sets.
|
ListRuleSetsResult |
withRuleSets(RuleSet... ruleSets)
The list of rule sets.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
nextToken
- If NextToken is returned, there are more results available. The value of NextToken is a unique pagination
token for each page. Make the call again using the returned token to retrieve the next page.public String getNextToken()
If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
public ListRuleSetsResult withNextToken(String nextToken)
If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
nextToken
- If NextToken is returned, there are more results available. The value of NextToken is a unique pagination
token for each page. Make the call again using the returned token to retrieve the next page.public List<RuleSet> getRuleSets()
The list of rule sets.
public void setRuleSets(Collection<RuleSet> ruleSets)
The list of rule sets.
ruleSets
- The list of rule sets.public ListRuleSetsResult withRuleSets(RuleSet... ruleSets)
The list of rule sets.
NOTE: This method appends the values to the existing list (if any). Use
setRuleSets(java.util.Collection)
or withRuleSets(java.util.Collection)
if you want to override
the existing values.
ruleSets
- The list of rule sets.public ListRuleSetsResult withRuleSets(Collection<RuleSet> ruleSets)
The list of rule sets.
ruleSets
- The list of rule sets.public String toString()
toString
in class Object
Object.toString()
public ListRuleSetsResult clone()