@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPackagesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| ListPackagesResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| ListPackagesResult | clone() | 
| boolean | equals(Object obj) | 
| String | getNextToken()
 If there are additional results, this is the token for the next set of results. | 
| List<PackageSummary> | getPackages()
 The list of returned PackageSummary
 objects. | 
| int | hashCode() | 
| void | setNextToken(String nextToken)
 If there are additional results, this is the token for the next set of results. | 
| void | setPackages(Collection<PackageSummary> packages)
 The list of returned PackageSummary
 objects. | 
| String | toString()Returns a string representation of this object. | 
| ListPackagesResult | withNextToken(String nextToken)
 If there are additional results, this is the token for the next set of results. | 
| ListPackagesResult | withPackages(Collection<PackageSummary> packages)
 The list of returned PackageSummary
 objects. | 
| ListPackagesResult | withPackages(PackageSummary... packages)
 The list of returned PackageSummary
 objects. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<PackageSummary> getPackages()
The list of returned PackageSummary objects.
public void setPackages(Collection<PackageSummary> packages)
The list of returned PackageSummary objects.
packages - The list of returned PackageSummary objects.public ListPackagesResult withPackages(PackageSummary... packages)
The list of returned PackageSummary objects.
 NOTE: This method appends the values to the existing list (if any). Use
 setPackages(java.util.Collection) or withPackages(java.util.Collection) if you want to override
 the existing values.
 
packages - The list of returned PackageSummary objects.public ListPackagesResult withPackages(Collection<PackageSummary> packages)
The list of returned PackageSummary objects.
packages - The list of returned PackageSummary objects.public void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken - If there are additional results, this is the token for the next set of results.public String getNextToken()
If there are additional results, this is the token for the next set of results.
public ListPackagesResult withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken - If there are additional results, this is the token for the next set of results.public String toString()
toString in class ObjectObject.toString()public ListPackagesResult clone()