@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeManagedPrefixListsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeManagedPrefixListsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeManagedPrefixListsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<ManagedPrefixList> |
getPrefixLists()
Information about the prefix lists.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setPrefixLists(Collection<ManagedPrefixList> prefixLists)
Information about the prefix lists.
|
String |
toString()
Returns a string representation of this object.
|
DescribeManagedPrefixListsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeManagedPrefixListsResult |
withPrefixLists(Collection<ManagedPrefixList> prefixLists)
Information about the prefix lists.
|
DescribeManagedPrefixListsResult |
withPrefixLists(ManagedPrefixList... prefixLists)
Information about the 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 DescribeManagedPrefixListsResult 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<ManagedPrefixList> getPrefixLists()
Information about the prefix lists.
public void setPrefixLists(Collection<ManagedPrefixList> prefixLists)
Information about the prefix lists.
prefixLists
- Information about the prefix lists.public DescribeManagedPrefixListsResult withPrefixLists(ManagedPrefixList... prefixLists)
Information about the 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
- Information about the prefix lists.public DescribeManagedPrefixListsResult withPrefixLists(Collection<ManagedPrefixList> prefixLists)
Information about the prefix lists.
prefixLists
- Information about the prefix lists.public String toString()
toString
in class Object
Object.toString()
public DescribeManagedPrefixListsResult clone()