@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPackageGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPackageGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListPackageGroupsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of results.
|
List<PackageGroupSummary> |
getPackageGroups()
The list of package groups in the requested domain.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setPackageGroups(Collection<PackageGroupSummary> packageGroups)
The list of package groups in the requested domain.
|
String |
toString()
Returns a string representation of this object.
|
ListPackageGroupsResult |
withNextToken(String nextToken)
The token for the next set of results.
|
ListPackageGroupsResult |
withPackageGroups(Collection<PackageGroupSummary> packageGroups)
The list of package groups in the requested domain.
|
ListPackageGroupsResult |
withPackageGroups(PackageGroupSummary... packageGroups)
The list of package groups in the requested domain.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PackageGroupSummary> getPackageGroups()
The list of package groups in the requested domain.
public void setPackageGroups(Collection<PackageGroupSummary> packageGroups)
The list of package groups in the requested domain.
packageGroups
- The list of package groups in the requested domain.public ListPackageGroupsResult withPackageGroups(PackageGroupSummary... packageGroups)
The list of package groups in the requested domain.
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
- The list of package groups in the requested domain.public ListPackageGroupsResult withPackageGroups(Collection<PackageGroupSummary> packageGroups)
The list of package groups in the requested domain.
packageGroups
- The list of package groups in the requested domain.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 ListPackageGroupsResult 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 ListPackageGroupsResult clone()