Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.identitymanagement.model
Class ListGroupsResult

java.lang.Object
  extended by com.amazonaws.services.identitymanagement.model.ListGroupsResult
All Implemented Interfaces:
Serializable

public class ListGroupsResult
extends Object
implements Serializable

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

See Also:
Serialized Form

Constructor Summary
ListGroupsResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Group> getGroups()
          A list of groups.
 Boolean getIsTruncated()
          A flag that indicates whether there are more groups 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.
 int hashCode()
           
 Boolean isTruncated()
          A flag that indicates whether there are more groups to list.
 void setGroups(Collection<Group> groups)
          A list of groups.
 void setIsTruncated(Boolean isTruncated)
          A flag that indicates whether there are more groups 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.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListGroupsResult withGroups(Collection<Group> groups)
          A list of groups.
 ListGroupsResult withGroups(Group... groups)
          A list of groups.
 ListGroupsResult withIsTruncated(Boolean isTruncated)
          A flag that indicates whether there are more groups to list.
 ListGroupsResult 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListGroupsResult

public ListGroupsResult()
Method Detail

getGroups

public List<Group> getGroups()
A list of groups.

Returns:
A list of groups.

setGroups

public void setGroups(Collection<Group> groups)
A list of groups.

Parameters:
groups - A list of groups.

withGroups

public ListGroupsResult withGroups(Group... groups)
A list of groups.

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

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

withGroups

public ListGroupsResult withGroups(Collection<Group> groups)
A list of groups.

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

Parameters:
groups - A list of groups.
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 groups to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more groups in the list.

Returns:
A flag that indicates whether there are more groups to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more groups in the list.

setIsTruncated

public void setIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more groups to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more groups in the list.

Parameters:
isTruncated - A flag that indicates whether there are more groups to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more groups in the list.

withIsTruncated

public ListGroupsResult withIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more groups to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more groups 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 groups to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more groups 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 groups to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more groups in the list.

Returns:
A flag that indicates whether there are more groups to list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more groups 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 ListGroupsResult 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.