@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssociatedPackagesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssociatedPackagesResult() |
Modifier and Type | Method and Description |
---|---|
ListAssociatedPackagesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of results.
|
List<AssociatedPackage> |
getPackages()
The list of packages associated with the requested package group.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setPackages(Collection<AssociatedPackage> packages)
The list of packages associated with the requested package group.
|
String |
toString()
Returns a string representation of this object.
|
ListAssociatedPackagesResult |
withNextToken(String nextToken)
The token for the next set of results.
|
ListAssociatedPackagesResult |
withPackages(AssociatedPackage... packages)
The list of packages associated with the requested package group.
|
ListAssociatedPackagesResult |
withPackages(Collection<AssociatedPackage> packages)
The list of packages associated with the requested package group.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AssociatedPackage> getPackages()
The list of packages associated with the requested package group.
public void setPackages(Collection<AssociatedPackage> packages)
The list of packages associated with the requested package group.
packages
- The list of packages associated with the requested package group.public ListAssociatedPackagesResult withPackages(AssociatedPackage... packages)
The list of packages associated with the requested package group.
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 packages associated with the requested package group.public ListAssociatedPackagesResult withPackages(Collection<AssociatedPackage> packages)
The list of packages associated with the requested package group.
packages
- The list of packages associated with the requested package group.public void setNextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request
to retrieve the next set of results.public String getNextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public ListAssociatedPackagesResult withNextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request
to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListAssociatedPackagesResult clone()