@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetManagedPrefixListEntriesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetManagedPrefixListEntriesResult() |
Modifier and Type | Method and Description |
---|---|
GetManagedPrefixListEntriesResult |
clone() |
boolean |
equals(Object obj) |
List<PrefixListEntry> |
getEntries()
Information about the prefix list entries.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setEntries(Collection<PrefixListEntry> entries)
Information about the prefix list entries.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
GetManagedPrefixListEntriesResult |
withEntries(Collection<PrefixListEntry> entries)
Information about the prefix list entries.
|
GetManagedPrefixListEntriesResult |
withEntries(PrefixListEntry... entries)
Information about the prefix list entries.
|
GetManagedPrefixListEntriesResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PrefixListEntry> getEntries()
Information about the prefix list entries.
public void setEntries(Collection<PrefixListEntry> entries)
Information about the prefix list entries.
entries
- Information about the prefix list entries.public GetManagedPrefixListEntriesResult withEntries(PrefixListEntry... entries)
Information about the prefix list entries.
NOTE: This method appends the values to the existing list (if any). Use
setEntries(java.util.Collection)
or withEntries(java.util.Collection)
if you want to override
the existing values.
entries
- Information about the prefix list entries.public GetManagedPrefixListEntriesResult withEntries(Collection<PrefixListEntry> entries)
Information about the prefix list entries.
entries
- Information about the prefix list entries.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 GetManagedPrefixListEntriesResult 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 String toString()
toString
in class Object
Object.toString()
public GetManagedPrefixListEntriesResult clone()