@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPackageVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPackageVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListPackageVersionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of results.
|
List<PackageVersionSummary> |
getPackageVersionSummaries()
Lists the package versions associated to the package.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setPackageVersionSummaries(Collection<PackageVersionSummary> packageVersionSummaries)
Lists the package versions associated to the package.
|
String |
toString()
Returns a string representation of this object.
|
ListPackageVersionsResult |
withNextToken(String nextToken)
The token for the next set of results.
|
ListPackageVersionsResult |
withPackageVersionSummaries(Collection<PackageVersionSummary> packageVersionSummaries)
Lists the package versions associated to the package.
|
ListPackageVersionsResult |
withPackageVersionSummaries(PackageVersionSummary... packageVersionSummaries)
Lists the package versions associated to the package.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PackageVersionSummary> getPackageVersionSummaries()
Lists the package versions associated to the package.
public void setPackageVersionSummaries(Collection<PackageVersionSummary> packageVersionSummaries)
Lists the package versions associated to the package.
packageVersionSummaries
- Lists the package versions associated to the package.public ListPackageVersionsResult withPackageVersionSummaries(PackageVersionSummary... packageVersionSummaries)
Lists the package versions associated to the package.
NOTE: This method appends the values to the existing list (if any). Use
setPackageVersionSummaries(java.util.Collection)
or
withPackageVersionSummaries(java.util.Collection)
if you want to override the existing values.
packageVersionSummaries
- Lists the package versions associated to the package.public ListPackageVersionsResult withPackageVersionSummaries(Collection<PackageVersionSummary> packageVersionSummaries)
Lists the package versions associated to the package.
packageVersionSummaries
- Lists the package versions associated to the package.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 ListPackageVersionsResult 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 ListPackageVersionsResult clone()