public class DescribePrefixListsResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of DescribePrefixLists.
Constructor and Description |
---|
DescribePrefixListsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token to use when requesting the next set of items.
|
java.util.List<PrefixList> |
getPrefixLists()
All available prefix lists.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
void |
setPrefixLists(java.util.Collection<PrefixList> prefixLists)
All available prefix lists.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribePrefixListsResult |
withNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
DescribePrefixListsResult |
withPrefixLists(java.util.Collection<PrefixList> prefixLists)
All available prefix lists.
|
DescribePrefixListsResult |
withPrefixLists(PrefixList... prefixLists)
All available prefix lists.
|
public java.util.List<PrefixList> getPrefixLists()
public void setPrefixLists(java.util.Collection<PrefixList> prefixLists)
prefixLists
- All available prefix lists.public DescribePrefixListsResult withPrefixLists(PrefixList... prefixLists)
Returns a reference to this object so that method calls can be chained together.
prefixLists
- All available prefix lists.public DescribePrefixListsResult withPrefixLists(java.util.Collection<PrefixList> prefixLists)
Returns a reference to this object so that method calls can be chained together.
prefixLists
- All available prefix lists.public java.lang.String getNextToken()
public void setNextToken(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.