@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePrefixListsResult extends AmazonWebServiceResult<ResponseMetadata> 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 to retrieve the next page of results.
|
List<PrefixList> |
getPrefixLists()
All available prefix lists.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setPrefixLists(Collection<PrefixList> prefixLists)
All available prefix lists.
|
String |
toString()
Returns a string representation of this object.
|
DescribePrefixListsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
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 to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribePrefixListsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.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()