public class ListRolesResult extends Object implements Serializable
Contains the result of a successful invocation of the ListRoles action.
Constructor and Description |
---|
ListRolesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getIsTruncated()
A flag that indicates whether there are more roles 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<Role> |
getRoles()
A list of roles.
|
int |
hashCode() |
Boolean |
isTruncated()
A flag that indicates whether there are more roles to list.
|
void |
setIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more roles 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 |
setRoles(Collection<Role> roles)
A list of roles.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListRolesResult |
withIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more roles to list.
|
ListRolesResult |
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. |
ListRolesResult |
withRoles(Collection<Role> roles)
A list of roles.
|
ListRolesResult |
withRoles(Role... roles)
A list of roles.
|
public void setRoles(Collection<Role> roles)
roles
- A list of roles.public ListRolesResult withRoles(Role... roles)
Returns a reference to this object so that method calls can be chained together.
roles
- A list of roles.public ListRolesResult withRoles(Collection<Role> roles)
Returns a reference to this object so that method calls can be chained together.
roles
- A list of roles.public Boolean isTruncated()
Marker
request parameter to retrieve more roles
in the list.Marker
request parameter to retrieve more roles
in the list.public void setIsTruncated(Boolean isTruncated)
Marker
request parameter to retrieve more roles
in the list.isTruncated
- A flag that indicates whether there are more roles to list. If your
results were truncated, you can make a subsequent pagination request
using the Marker
request parameter to retrieve more roles
in the list.public ListRolesResult withIsTruncated(Boolean isTruncated)
Marker
request parameter to retrieve more roles
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 roles to list. If your
results were truncated, you can make a subsequent pagination request
using the Marker
request parameter to retrieve more roles
in the list.public Boolean getIsTruncated()
Marker
request parameter to retrieve more roles
in the list.Marker
request parameter to retrieve more roles
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: [\u0020-\u00FF]*
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: [\u0020-\u00FF]*
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 ListRolesResult 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: [\u0020-\u00FF]*
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 © 2014. All rights reserved.