@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeUsersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeUsersResult() |
Modifier and Type | Method and Description |
---|---|
DescribeUsersResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
An optional argument to pass in case the total number of records exceeds the value of MaxResults.
|
List<User> |
getUsers()
A list of users.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
An optional argument to pass in case the total number of records exceeds the value of MaxResults.
|
void |
setUsers(Collection<User> users)
A list of users.
|
String |
toString()
Returns a string representation of this object.
|
DescribeUsersResult |
withNextToken(String nextToken)
An optional argument to pass in case the total number of records exceeds the value of MaxResults.
|
DescribeUsersResult |
withUsers(Collection<User> users)
A list of users.
|
DescribeUsersResult |
withUsers(User... users)
A list of users.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setUsers(Collection<User> users)
A list of users.
users
- A list of users.public DescribeUsersResult withUsers(User... users)
A list of users.
NOTE: This method appends the values to the existing list (if any). Use
setUsers(java.util.Collection)
or withUsers(java.util.Collection)
if you want to override the
existing values.
users
- A list of users.public DescribeUsersResult withUsers(Collection<User> users)
A list of users.
users
- A list of users.public void setNextToken(String nextToken)
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
nextToken
- An optional argument to pass in case the total number of records exceeds the value of MaxResults. If
nextToken is returned, there are more results available. The value of nextToken is a unique pagination
token for each page. Make the call again using the returned token to retrieve the next page. Keep all
other arguments unchanged.public String getNextToken()
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
public DescribeUsersResult withNextToken(String nextToken)
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
nextToken
- An optional argument to pass in case the total number of records exceeds the value of MaxResults. If
nextToken is returned, there are more results available. The value of nextToken is a unique pagination
token for each page. Make the call again using the returned token to retrieve the next page. Keep all
other arguments unchanged.public String toString()
toString
in class Object
Object.toString()
public DescribeUsersResult clone()