public class DescribePrefixListsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribePrefixLists.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The token to use when requesting the next set of items.
|
private SdkInternalList<PrefixList> |
prefixLists
All available prefix lists.
|
Constructor and Description |
---|
DescribePrefixListsResult() |
Modifier and Type | Method and Description |
---|---|
DescribePrefixListsResult |
clone() |
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.
|
private SdkInternalList<PrefixList> prefixLists
All available prefix lists.
private java.lang.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.
public java.util.List<PrefixList> getPrefixLists()
All available prefix lists.
public void setPrefixLists(java.util.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(java.util.Collection<PrefixList> prefixLists)
All available prefix lists.
prefixLists
- All available prefix lists.public void setNextToken(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribePrefixListsResult clone()
clone
in class java.lang.Object