public class AdminListGroupsForUserRequest extends AmazonWebServiceRequest implements Serializable
Lists the groups that the user belongs to.
Calling this action requires developer credentials.
| Constructor and Description |
|---|
AdminListGroupsForUserRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getLimit()
The limit of the request to list groups.
|
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.
|
String |
getUsername()
The username for the user.
|
String |
getUserPoolId()
The user pool ID for the user pool.
|
int |
hashCode() |
void |
setLimit(Integer limit)
The limit of the request to list groups.
|
void |
setNextToken(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.
|
void |
setUsername(String username)
The username for the user.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminListGroupsForUserRequest |
withLimit(Integer limit)
The limit of the request to list groups.
|
AdminListGroupsForUserRequest |
withNextToken(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.
|
AdminListGroupsForUserRequest |
withUsername(String username)
The username for the user.
|
AdminListGroupsForUserRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getUsername()
The username for the user.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The username for the user.
public void setUsername(String username)
The username for the user.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The username for the user.
public AdminListGroupsForUserRequest withUsername(String username)
The username for the user.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The username for the user.
public String getUserPoolId()
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for the user pool.
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool.
public AdminListGroupsForUserRequest withUserPoolId(String userPoolId)
The user pool ID for the user pool.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool.
public Integer getLimit()
The limit of the request to list groups.
Constraints:
Range: 0 - 60
The limit of the request to list groups.
public void setLimit(Integer limit)
The limit of the request to list groups.
Constraints:
Range: 0 - 60
limit - The limit of the request to list groups.
public AdminListGroupsForUserRequest withLimit(Integer limit)
The limit of the request to list groups.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 60
limit - The limit of the request to list groups.
public 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(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 AdminListGroupsForUserRequest withNextToken(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 String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.