@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<GroupInformation> |
getGroups()
Information about a group.
|
String |
getNextToken()
The token for the next set of results, or ''null'' if there are no additional results.
|
int |
hashCode() |
void |
setGroups(Collection<GroupInformation> groups)
Information about a group.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or ''null'' if there are no additional results.
|
String |
toString()
Returns a string representation of this object.
|
ListGroupsResult |
withGroups(Collection<GroupInformation> groups)
Information about a group.
|
ListGroupsResult |
withGroups(GroupInformation... groups)
Information about a group.
|
ListGroupsResult |
withNextToken(String nextToken)
The token for the next set of results, or ''null'' if there are no additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<GroupInformation> getGroups()
public void setGroups(Collection<GroupInformation> groups)
groups - Information about a group.public ListGroupsResult withGroups(GroupInformation... groups)
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 - Information about a group.public ListGroupsResult withGroups(Collection<GroupInformation> groups)
groups - Information about a group.public void setNextToken(String nextToken)
nextToken - The token for the next set of results, or ''null'' if there are no additional results.public String getNextToken()
public ListGroupsResult withNextToken(String nextToken)
nextToken - The token for the next set of results, or ''null'' if there are no additional results.public String toString()
toString in class ObjectObject.toString()public ListGroupsResult clone()