@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()
Groups
|
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)
Groups
|
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; useful for testing and debugging.
|
ListGroupsResult |
withGroups(Collection<GroupInformation> groups)
Groups
|
ListGroupsResult |
withGroups(GroupInformation... groups)
Groups
|
ListGroupsResult |
withNextToken(String nextToken)
The token for the next set of results, or ''null'' if there are no additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<GroupInformation> getGroups()
public void setGroups(Collection<GroupInformation> groups)
groups
- Groupspublic 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
- Groupspublic ListGroupsResult withGroups(Collection<GroupInformation> groups)
groups
- Groupspublic 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 Object
Object.toString()
public ListGroupsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.