public class ListUsersInGroupRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Lists the users in the specified group.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
| Constructor and Description |
|---|
ListUsersInGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGroupName()
The name of the group.
|
java.lang.Integer |
getLimit()
The limit of the request to list users.
|
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.
|
java.lang.String |
getUserPoolId()
The user pool ID for the user pool.
|
int |
hashCode() |
void |
setGroupName(java.lang.String groupName)
The name of the group.
|
void |
setLimit(java.lang.Integer limit)
The limit of the request to list users.
|
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.
|
void |
setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListUsersInGroupRequest |
withGroupName(java.lang.String groupName)
The name of the group.
|
ListUsersInGroupRequest |
withLimit(java.lang.Integer limit)
The limit of the request to list users.
|
ListUsersInGroupRequest |
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.
|
ListUsersInGroupRequest |
withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.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(java.lang.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 ListUsersInGroupRequest withUserPoolId(java.lang.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 java.lang.String getGroupName()
The name of the group.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The name of the group.
public void setGroupName(java.lang.String groupName)
The name of the group.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
groupName - The name of the group.
public ListUsersInGroupRequest withGroupName(java.lang.String groupName)
The name of the group.
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}]+
groupName - The name of the group.
public java.lang.Integer getLimit()
The limit of the request to list users.
Constraints:
Range: 0 - 60
The limit of the request to list users.
public void setLimit(java.lang.Integer limit)
The limit of the request to list users.
Constraints:
Range: 0 - 60
limit - The limit of the request to list users.
public ListUsersInGroupRequest withLimit(java.lang.Integer limit)
The limit of the request to list users.
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 users.
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 ListUsersInGroupRequest 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