public class DescribePrefixListsResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribePrefixListsResult() |
Modifier and Type | Method and Description |
---|---|
DescribePrefixListsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use when requesting the next set of items.
|
List<PrefixList> |
getPrefixLists()
All available prefix lists.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
void |
setPrefixLists(Collection<PrefixList> prefixLists)
All available prefix lists.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribePrefixListsResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
DescribePrefixListsResult |
withPrefixLists(Collection<PrefixList> prefixLists)
All available prefix lists.
|
DescribePrefixListsResult |
withPrefixLists(PrefixList... prefixLists)
All available prefix lists.
|
public List<PrefixList> getPrefixLists()
public void setPrefixLists(Collection<PrefixList> prefixLists)
prefixLists
- All available prefix lists.public DescribePrefixListsResult withPrefixLists(PrefixList... prefixLists)
NOTE: This method appends the values to the existing list (if
any). Use setPrefixLists(java.util.Collection)
or withPrefixLists(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
prefixLists
- All available prefix lists.public DescribePrefixListsResult withPrefixLists(Collection<PrefixList> prefixLists)
Returns a reference to this object so that method calls can be chained together.
prefixLists
- All available prefix lists.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- The token to use when requesting the next set of items. If there are
no additional items to return, the string is empty.public DescribePrefixListsResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- The token to use when requesting the next set of items. If there are
no additional items to return, the string is empty.public String toString()
toString
in class Object
Object.toString()
public DescribePrefixListsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.