public class ListUsersResult extends Object implements Serializable
Contains the result of a successful invocation of the ListUsers action.
Constructor and Description |
---|
ListUsersResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getIsTruncated()
A flag that indicates whether there are more user names to list.
|
String |
getMarker()
If
IsTruncated is true , this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request. |
List<User> |
getUsers()
A list of users.
|
int |
hashCode() |
Boolean |
isTruncated()
A flag that indicates whether there are more user names to list.
|
void |
setIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more user names to list.
|
void |
setMarker(String marker)
If
IsTruncated is true , this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request. |
void |
setUsers(Collection<User> users)
A list of users.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListUsersResult |
withIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more user names to list.
|
ListUsersResult |
withMarker(String marker)
If
IsTruncated is true , this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request. |
ListUsersResult |
withUsers(Collection<User> users)
A list of users.
|
ListUsersResult |
withUsers(User... users)
A list of users.
|
public void setUsers(Collection<User> users)
users
- A list of users.public ListUsersResult withUsers(User... users)
Returns a reference to this object so that method calls can be chained together.
users
- A list of users.public ListUsersResult withUsers(Collection<User> users)
Returns a reference to this object so that method calls can be chained together.
users
- A list of users.public Boolean isTruncated()
Marker
request parameter to retrieve
more users in the list.Marker
request parameter to retrieve
more users in the list.public void setIsTruncated(Boolean isTruncated)
Marker
request parameter to retrieve
more users in the list.isTruncated
- A flag that indicates whether there are more user names to list. If
your results were truncated, you can make a subsequent pagination
request using the Marker
request parameter to retrieve
more users in the list.public ListUsersResult withIsTruncated(Boolean isTruncated)
Marker
request parameter to retrieve
more users in the list.
Returns a reference to this object so that method calls can be chained together.
isTruncated
- A flag that indicates whether there are more user names to list. If
your results were truncated, you can make a subsequent pagination
request using the Marker
request parameter to retrieve
more users in the list.public Boolean getIsTruncated()
Marker
request parameter to retrieve
more users in the list.Marker
request parameter to retrieve
more users in the list.public String getMarker()
IsTruncated
is true
, this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request.
Constraints:
Length: 1 - 320
Pattern: [ -ÿ]*
IsTruncated
is true
, this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request.public void setMarker(String marker)
IsTruncated
is true
, this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request.
Constraints:
Length: 1 - 320
Pattern: [ -ÿ]*
marker
- If IsTruncated
is true
, this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request.public ListUsersResult withMarker(String marker)
IsTruncated
is true
, this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 320
Pattern: [ -ÿ]*
marker
- If IsTruncated
is true
, this element is
present and contains the value to use for the Marker
parameter in a subsequent pagination request.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.