@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListGroupsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<Group> |
getGroups()
A list of
Group objects in the identity store. |
String |
getNextToken()
The pagination token used for the
ListUsers and ListGroups APIs. |
int |
hashCode() |
void |
setGroups(Collection<Group> groups)
A list of
Group objects in the identity store. |
void |
setNextToken(String nextToken)
The pagination token used for the
ListUsers and ListGroups APIs. |
String |
toString()
Returns a string representation of this object.
|
ListGroupsResult |
withGroups(Collection<Group> groups)
A list of
Group objects in the identity store. |
ListGroupsResult |
withGroups(Group... groups)
A list of
Group objects in the identity store. |
ListGroupsResult |
withNextToken(String nextToken)
The pagination token used for the
ListUsers and ListGroups APIs. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Group> getGroups()
A list of Group objects in the identity store.
Group objects in the identity store.public void setGroups(Collection<Group> groups)
A list of Group objects in the identity store.
groups - A list of Group objects in the identity store.public ListGroupsResult withGroups(Group... groups)
A list of Group objects in the identity store.
NOTE: This method appends the values to the existing list (if any). Use
setGroups(java.util.Collection) or withGroups(java.util.Collection) if you want to override the
existing values.
groups - A list of Group objects in the identity store.public ListGroupsResult withGroups(Collection<Group> groups)
A list of Group objects in the identity store.
groups - A list of Group objects in the identity store.public void setNextToken(String nextToken)
The pagination token used for the ListUsers and ListGroups APIs. This value is
generated by the identity store service and is returned in the API response if the total results are more than
the size of one page, and when this token is used in the API request to search for the next page.
nextToken - The pagination token used for the ListUsers and ListGroups APIs. This value is
generated by the identity store service and is returned in the API response if the total results are more
than the size of one page, and when this token is used in the API request to search for the next page.public String getNextToken()
The pagination token used for the ListUsers and ListGroups APIs. This value is
generated by the identity store service and is returned in the API response if the total results are more than
the size of one page, and when this token is used in the API request to search for the next page.
ListUsers and ListGroups APIs. This value is
generated by the identity store service and is returned in the API response if the total results are more
than the size of one page, and when this token is used in the API request to search for the next page.public ListGroupsResult withNextToken(String nextToken)
The pagination token used for the ListUsers and ListGroups APIs. This value is
generated by the identity store service and is returned in the API response if the total results are more than
the size of one page, and when this token is used in the API request to search for the next page.
nextToken - The pagination token used for the ListUsers and ListGroups APIs. This value is
generated by the identity store service and is returned in the API response if the total results are more
than the size of one page, and when this token is used in the API request to search for the next page.public String toString()
toString in class ObjectObject.toString()public ListGroupsResult clone()
Copyright © 2021. All rights reserved.