public class ListGroupsResult extends Object implements Serializable
Constructor and Description |
---|
ListGroupsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<GroupType> |
getGroups()
The group objects for the groups.
|
String |
getNextToken()
An identifier that was returned from the previous call to this operation,
which can be used to return the next set of items in the list.
|
int |
hashCode() |
void |
setGroups(Collection<GroupType> groups)
The group objects for the groups.
|
void |
setNextToken(String nextToken)
An identifier that was returned from the previous call to this operation,
which can be used to return the next set of items in the list.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListGroupsResult |
withGroups(Collection<GroupType> groups)
The group objects for the groups.
|
ListGroupsResult |
withGroups(GroupType... groups)
The group objects for the groups.
|
ListGroupsResult |
withNextToken(String nextToken)
An identifier that was returned from the previous call to this operation,
which can be used to return the next set of items in the list.
|
public List<GroupType> getGroups()
The group objects for the groups.
The group objects for the groups.
public void setGroups(Collection<GroupType> groups)
The group objects for the groups.
groups
- The group objects for the groups.
public ListGroupsResult withGroups(GroupType... groups)
The group objects for the groups.
Returns a reference to this object so that method calls can be chained together.
groups
- The group objects for the groups.
public ListGroupsResult withGroups(Collection<GroupType> groups)
The group objects for the groups.
Returns a reference to this object so that method calls can be chained together.
groups
- The group objects for the groups.
public String getNextToken()
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Constraints:
Length: 1 -
Pattern: [\S]+
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
public void setNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Constraints:
Length: 1 -
Pattern: [\S]+
nextToken
- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
public ListGroupsResult withNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
Pattern: [\S]+
nextToken
- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2020. All rights reserved.