@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListUsersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The response from the request to list users.
Constructor and Description |
---|
ListUsersResult() |
Modifier and Type | Method and Description |
---|---|
ListUsersResult |
clone() |
boolean |
equals(Object obj) |
String |
getPaginationToken()
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.
|
List<UserType> |
getUsers()
The users returned in the request to list users.
|
int |
hashCode() |
void |
setPaginationToken(String paginationToken)
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 |
setUsers(Collection<UserType> users)
The users returned in the request to list users.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListUsersResult |
withPaginationToken(String paginationToken)
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.
|
ListUsersResult |
withUsers(Collection<UserType> users)
The users returned in the request to list users.
|
ListUsersResult |
withUsers(UserType... users)
The users returned in the request to list users.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<UserType> getUsers()
The users returned in the request to list users.
public void setUsers(Collection<UserType> users)
The users returned in the request to list users.
users
- The users returned in the request to list users.public ListUsersResult withUsers(UserType... users)
The users returned in the request to list 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
- The users returned in the request to list users.public ListUsersResult withUsers(Collection<UserType> users)
The users returned in the request to list users.
users
- The users returned in the request to list users.public void setPaginationToken(String paginationToken)
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.
paginationToken
- 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 getPaginationToken()
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 ListUsersResult withPaginationToken(String paginationToken)
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.
paginationToken
- 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 Object
Object.toString()
public ListUsersResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.