@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePackagesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Container for response returned by DescribePackages
operation.
Constructor and Description |
---|
DescribePackagesResult() |
Modifier and Type | Method and Description |
---|---|
DescribePackagesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken() |
List<PackageDetails> |
getPackageDetailsList()
List of
PackageDetails objects. |
int |
hashCode() |
void |
setNextToken(String nextToken) |
void |
setPackageDetailsList(Collection<PackageDetails> packageDetailsList)
List of
PackageDetails objects. |
String |
toString()
Returns a string representation of this object.
|
DescribePackagesResult |
withNextToken(String nextToken) |
DescribePackagesResult |
withPackageDetailsList(Collection<PackageDetails> packageDetailsList)
List of
PackageDetails objects. |
DescribePackagesResult |
withPackageDetailsList(PackageDetails... packageDetailsList)
List of
PackageDetails objects. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PackageDetails> getPackageDetailsList()
List of PackageDetails
objects.
PackageDetails
objects.public void setPackageDetailsList(Collection<PackageDetails> packageDetailsList)
List of PackageDetails
objects.
packageDetailsList
- List of PackageDetails
objects.public DescribePackagesResult withPackageDetailsList(PackageDetails... packageDetailsList)
List of PackageDetails
objects.
NOTE: This method appends the values to the existing list (if any). Use
setPackageDetailsList(java.util.Collection)
or withPackageDetailsList(java.util.Collection)
if
you want to override the existing values.
packageDetailsList
- List of PackageDetails
objects.public DescribePackagesResult withPackageDetailsList(Collection<PackageDetails> packageDetailsList)
List of PackageDetails
objects.
packageDetailsList
- List of PackageDetails
objects.public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public DescribePackagesResult withNextToken(String nextToken)
nextToken
- public String toString()
toString
in class Object
Object.toString()
public DescribePackagesResult clone()