public class AdminListGroupsForUserResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
AdminListGroupsForUserResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<GroupType> |
getGroups()
The groups that the user belongs to.
|
java.lang.String |
getNextToken()
An identifier that was returned from the previous call to this operation,
which can be used to return the next set of items in the list.
|
int |
hashCode() |
void |
setGroups(java.util.Collection<GroupType> groups)
The groups that the user belongs to.
|
void |
setNextToken(java.lang.String nextToken)
An identifier that was returned from the previous call to this operation,
which can be used to return the next set of items in the list.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminListGroupsForUserResult |
withGroups(java.util.Collection<GroupType> groups)
The groups that the user belongs to.
|
AdminListGroupsForUserResult |
withGroups(GroupType... groups)
The groups that the user belongs to.
|
AdminListGroupsForUserResult |
withNextToken(java.lang.String nextToken)
An identifier that was returned from the previous call to this operation,
which can be used to return the next set of items in the list.
|
public java.util.List<GroupType> getGroups()
The groups that the user belongs to.
The groups that the user belongs to.
public void setGroups(java.util.Collection<GroupType> groups)
The groups that the user belongs to.
groups - The groups that the user belongs to.
public AdminListGroupsForUserResult withGroups(GroupType... groups)
The groups that the user belongs to.
Returns a reference to this object so that method calls can be chained together.
groups - The groups that the user belongs to.
public AdminListGroupsForUserResult withGroups(java.util.Collection<GroupType> groups)
The groups that the user belongs to.
Returns a reference to this object so that method calls can be chained together.
groups - The groups that the user belongs to.
public java.lang.String getNextToken()
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Constraints:
Length: 1 -
Pattern: [\S]+
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
public void setNextToken(java.lang.String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Constraints:
Length: 1 -
Pattern: [\S]+
nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
public AdminListGroupsForUserResult withNextToken(java.lang.String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
Pattern: [\S]+
nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object