@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<GroupMetadata> |
getGroups()
The list of groups.
|
String |
getMarker()
The marker to use when requesting the next set of results.
|
int |
hashCode() |
void |
setGroups(Collection<GroupMetadata> groups)
The list of groups.
|
void |
setMarker(String marker)
The marker to use when requesting the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeGroupsResult |
withGroups(Collection<GroupMetadata> groups)
The list of groups.
|
DescribeGroupsResult |
withGroups(GroupMetadata... groups)
The list of groups.
|
DescribeGroupsResult |
withMarker(String marker)
The marker to use when requesting the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<GroupMetadata> getGroups()
The list of groups.
public void setGroups(Collection<GroupMetadata> groups)
The list of groups.
groups
- The list of groups.public DescribeGroupsResult withGroups(GroupMetadata... groups)
The list of groups.
NOTE: This method appends the values to the existing list (if any). Use
setGroups(java.util.Collection)
or withGroups(java.util.Collection)
if you want to override the
existing values.
groups
- The list of groups.public DescribeGroupsResult withGroups(Collection<GroupMetadata> groups)
The list of groups.
groups
- The list of groups.public void setMarker(String marker)
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
marker
- The marker to use when requesting the next set of results. If there are no additional results, the string
is empty.public String getMarker()
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
public DescribeGroupsResult withMarker(String marker)
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
marker
- The marker to use when requesting the next set of results. If there are no additional results, the string
is empty.public String toString()
toString
in class Object
Object.toString()
public DescribeGroupsResult clone()