@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()
The token for the next set of results.
|
List<PackageSummary> |
getPackageSummaries()
The software package summary.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setPackageSummaries(Collection<PackageSummary> packageSummaries)
The software package summary.
|
String |
toString()
Returns a string representation of this object.
|
ListPackagesResult |
withNextToken(String nextToken)
The token for the next set of results.
|
ListPackagesResult |
withPackageSummaries(Collection<PackageSummary> packageSummaries)
The software package summary.
|
ListPackagesResult |
withPackageSummaries(PackageSummary... packageSummaries)
The software package summary.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PackageSummary> getPackageSummaries()
The software package summary.
public void setPackageSummaries(Collection<PackageSummary> packageSummaries)
The software package summary.
packageSummaries
- The software package summary.public ListPackagesResult withPackageSummaries(PackageSummary... packageSummaries)
The software package summary.
NOTE: This method appends the values to the existing list (if any). Use
setPackageSummaries(java.util.Collection)
or withPackageSummaries(java.util.Collection)
if you
want to override the existing values.
packageSummaries
- The software package summary.public ListPackagesResult withPackageSummaries(Collection<PackageSummary> packageSummaries)
The software package summary.
packageSummaries
- The software package summary.public void setNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public String getNextToken()
The token for the next set of results.
public ListPackagesResult withNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListPackagesResult clone()