@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<GroupIdentifier> |
getGroupIdentifiers()
A list of GroupIdentifier objects.
|
List<Group> |
getGroups()
Deprecated.
|
String |
getNextToken()
The NextToken value to include in a subsequent
ListGroups request, to get more results. |
int |
hashCode() |
void |
setGroupIdentifiers(Collection<GroupIdentifier> groupIdentifiers)
A list of GroupIdentifier objects.
|
void |
setGroups(Collection<Group> groups)
Deprecated.
|
void |
setNextToken(String nextToken)
The NextToken value to include in a subsequent
ListGroups request, to get more results. |
String |
toString()
Returns a string representation of this object.
|
ListGroupsResult |
withGroupIdentifiers(Collection<GroupIdentifier> groupIdentifiers)
A list of GroupIdentifier objects.
|
ListGroupsResult |
withGroupIdentifiers(GroupIdentifier... groupIdentifiers)
A list of GroupIdentifier objects.
|
ListGroupsResult |
withGroups(Collection<Group> groups)
Deprecated.
|
ListGroupsResult |
withGroups(Group... groups)
Deprecated.
|
ListGroupsResult |
withNextToken(String nextToken)
The NextToken value to include in a subsequent
ListGroups request, to get more results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<GroupIdentifier> getGroupIdentifiers()
A list of GroupIdentifier objects. Each identifier is an object that contains both the GroupName and the GroupArn.
public void setGroupIdentifiers(Collection<GroupIdentifier> groupIdentifiers)
A list of GroupIdentifier objects. Each identifier is an object that contains both the GroupName and the GroupArn.
groupIdentifiers
- A list of GroupIdentifier objects. Each identifier is an object that contains both the GroupName and the
GroupArn.public ListGroupsResult withGroupIdentifiers(GroupIdentifier... groupIdentifiers)
A list of GroupIdentifier objects. Each identifier is an object that contains both the GroupName and the GroupArn.
NOTE: This method appends the values to the existing list (if any). Use
setGroupIdentifiers(java.util.Collection)
or withGroupIdentifiers(java.util.Collection)
if you
want to override the existing values.
groupIdentifiers
- A list of GroupIdentifier objects. Each identifier is an object that contains both the GroupName and the
GroupArn.public ListGroupsResult withGroupIdentifiers(Collection<GroupIdentifier> groupIdentifiers)
A list of GroupIdentifier objects. Each identifier is an object that contains both the GroupName and the GroupArn.
groupIdentifiers
- A list of GroupIdentifier objects. Each identifier is an object that contains both the GroupName and the
GroupArn.@Deprecated public List<Group> getGroups()
A list of resource groups.
@Deprecated public void setGroups(Collection<Group> groups)
A list of resource groups.
groups
- A list of resource groups.@Deprecated public ListGroupsResult withGroups(Group... groups)
A list of resource 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
- A list of resource groups.@Deprecated public ListGroupsResult withGroups(Collection<Group> groups)
A list of resource groups.
groups
- A list of resource groups.public void setNextToken(String nextToken)
The NextToken value to include in a subsequent ListGroups
request, to get more results.
nextToken
- The NextToken value to include in a subsequent ListGroups
request, to get more results.public String getNextToken()
The NextToken value to include in a subsequent ListGroups
request, to get more results.
ListGroups
request, to get more results.public ListGroupsResult withNextToken(String nextToken)
The NextToken value to include in a subsequent ListGroups
request, to get more results.
nextToken
- The NextToken value to include in a subsequent ListGroups
request, to get more results.public String toString()
toString
in class Object
Object.toString()
public ListGroupsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.