@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePrefixListsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of DescribePrefixLists.
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
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 getNextToken()
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)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
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 List<PrefixList> getPrefixLists()
All available prefix lists.
public void setPrefixLists(Collection<PrefixList> prefixLists)
All available prefix lists.
prefixLists
- All available prefix lists.public DescribePrefixListsResult withPrefixLists(PrefixList... prefixLists)
All available prefix lists.
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.
prefixLists
- All available prefix lists.public DescribePrefixListsResult withPrefixLists(Collection<PrefixList> prefixLists)
All available prefix lists.
prefixLists
- All available prefix lists.public String toString()
toString
in class Object
Object.toString()
public DescribePrefixListsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.