@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListUserGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListUserGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListUserGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<Group> |
getGroupList()
The list of groups the user is a member of.
|
String |
getNextToken()
A pagination token that can be used in a subsequent request.
|
String |
getRequestId()
The Amazon Web Services request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
int |
hashCode() |
void |
setGroupList(Collection<Group> groupList)
The list of groups the user is a member of.
|
void |
setNextToken(String nextToken)
A pagination token that can be used in a subsequent request.
|
void |
setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
String |
toString()
Returns a string representation of this object.
|
ListUserGroupsResult |
withGroupList(Collection<Group> groupList)
The list of groups the user is a member of.
|
ListUserGroupsResult |
withGroupList(Group... groupList)
The list of groups the user is a member of.
|
ListUserGroupsResult |
withNextToken(String nextToken)
A pagination token that can be used in a subsequent request.
|
ListUserGroupsResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
ListUserGroupsResult |
withStatus(Integer status)
The HTTP status of the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Group> getGroupList()
The list of groups the user is a member of.
public void setGroupList(Collection<Group> groupList)
The list of groups the user is a member of.
groupList
- The list of groups the user is a member of.public ListUserGroupsResult withGroupList(Group... groupList)
The list of groups the user is a member of.
NOTE: This method appends the values to the existing list (if any). Use
setGroupList(java.util.Collection)
or withGroupList(java.util.Collection)
if you want to
override the existing values.
groupList
- The list of groups the user is a member of.public ListUserGroupsResult withGroupList(Collection<Group> groupList)
The list of groups the user is a member of.
groupList
- The list of groups the user is a member of.public void setNextToken(String nextToken)
A pagination token that can be used in a subsequent request.
nextToken
- A pagination token that can be used in a subsequent request.public String getNextToken()
A pagination token that can be used in a subsequent request.
public ListUserGroupsResult withNextToken(String nextToken)
A pagination token that can be used in a subsequent request.
nextToken
- A pagination token that can be used in a subsequent request.public void setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public String getRequestId()
The Amazon Web Services request ID for this operation.
public ListUserGroupsResult withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public void setStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public Integer getStatus()
The HTTP status of the request.
public ListUserGroupsResult withStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public String toString()
toString
in class Object
Object.toString()
public ListUserGroupsResult clone()