Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.identitymanagement.model
Class ListRolesResult

java.lang.Object
  extended by com.amazonaws.services.identitymanagement.model.ListRolesResult

public class ListRolesResult
extends Object

Contains the result of a successful invocation of the ListRoles action.


Constructor Summary
ListRolesResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListRolesResult

public ListRolesResult()
Method Detail

getRoles

public List<Role> getRoles()
A list of roles.

Returns:
A list of roles.

setRoles

public void setRoles(Collection<Role> roles)
A list of roles.

Parameters:
roles - A list of roles.

withRoles

public ListRolesResult withRoles(Role... roles)
A list of roles.

Returns a reference to this object so that method calls can be chained together.

Parameters:
roles - A list of roles.
Returns:
A reference to this updated object so that method calls can be chained together.

withRoles

public ListRolesResult withRoles(Collection<Role> roles)
A list of roles.

Returns a reference to this object so that method calls can be chained together.

Parameters:
roles - A list of roles.
Returns:
A reference to this updated object so that method calls can be chained together.

isTruncated

public Boolean 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.

Returns:
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.

setIsTruncated

public void setIsTruncated(Boolean 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.

Parameters:
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.

withIsTruncated

public ListRolesResult withIsTruncated(Boolean 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getIsTruncated

public Boolean getIsTruncated()
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.

Returns:
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.

getMarker

public 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.

Constraints:
Length: 1 - 320
Pattern: [ -?]*

Returns:
If IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

setMarker

public 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.

Constraints:
Length: 1 - 320
Pattern: [ -?]*

Parameters:
marker - If IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

withMarker

public 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 320
Pattern: [ -?]*

Parameters:
marker - If 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 updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.