@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSubPackageGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSubPackageGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListSubPackageGroupsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
List<PackageGroupSummary> |
getPackageGroups()
A list of sub package groups for the requested package group.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
void |
setPackageGroups(Collection<PackageGroupSummary> packageGroups)
A list of sub package groups for the requested package group.
|
String |
toString()
Returns a string representation of this object.
|
ListSubPackageGroupsResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
ListSubPackageGroupsResult |
withPackageGroups(Collection<PackageGroupSummary> packageGroups)
A list of sub package groups for the requested package group.
|
ListSubPackageGroupsResult |
withPackageGroups(PackageGroupSummary... packageGroups)
A list of sub package groups for the requested package group.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PackageGroupSummary> getPackageGroups()
A list of sub package groups for the requested package group.
public void setPackageGroups(Collection<PackageGroupSummary> packageGroups)
A list of sub package groups for the requested package group.
packageGroups
- A list of sub package groups for the requested package group.public ListSubPackageGroupsResult withPackageGroups(PackageGroupSummary... packageGroups)
A list of sub package groups for the requested package group.
NOTE: This method appends the values to the existing list (if any). Use
setPackageGroups(java.util.Collection)
or withPackageGroups(java.util.Collection)
if you want
to override the existing values.
packageGroups
- A list of sub package groups for the requested package group.public ListSubPackageGroupsResult withPackageGroups(Collection<PackageGroupSummary> packageGroups)
A list of sub package groups for the requested package group.
packageGroups
- A list of sub package groups for the requested package group.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 ListSubPackageGroupsResult 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 Object
Object.toString()
public ListSubPackageGroupsResult clone()