@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 API operations. |
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 API operations. |
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 API operations. |
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 API operations. This value
is generated by the identity store service. It is returned in the API response if the total results are more than
the size of one page. This token is also returned when it1 is used in the API request to search for the next
page.
nextToken - The pagination token used for the ListUsers and ListGroups API operations. This
value is generated by the identity store service. It is returned in the API response if the total results
are more than the size of one page. This token is also returned when it1 is used in the API request to
search for the next page.public String getNextToken()
The pagination token used for the ListUsers and ListGroups API operations. This value
is generated by the identity store service. It is returned in the API response if the total results are more than
the size of one page. This token is also returned when it1 is used in the API request to search for the next
page.
ListUsers and ListGroups API operations. This
value is generated by the identity store service. It is returned in the API response if the total results
are more than the size of one page. This token is also returned when it1 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 API operations. This value
is generated by the identity store service. It is returned in the API response if the total results are more than
the size of one page. This token is also returned when it1 is used in the API request to search for the next
page.
nextToken - The pagination token used for the ListUsers and ListGroups API operations. This
value is generated by the identity store service. It is returned in the API response if the total results
are more than the size of one page. This token is also returned when it1 is used in the API request to
search for the next page.public String toString()
toString in class ObjectObject.toString()public ListGroupsResult clone()