@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<Group> |
getGroupList()
The list of the groups.
|
String |
getNextToken()
A pagination token that can be used in a subsequent request.
|
String |
getRequestId()
The AWS request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
int |
hashCode() |
void |
setGroupList(Collection<Group> groupList)
The list of the groups.
|
void |
setNextToken(String nextToken)
A pagination token that can be used in a subsequent request.
|
void |
setRequestId(String requestId)
The AWS request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
String |
toString()
Returns a string representation of this object.
|
ListGroupsResult |
withGroupList(Collection<Group> groupList)
The list of the groups.
|
ListGroupsResult |
withGroupList(Group... groupList)
The list of the groups.
|
ListGroupsResult |
withNextToken(String nextToken)
A pagination token that can be used in a subsequent request.
|
ListGroupsResult |
withRequestId(String requestId)
The AWS request ID for this operation.
|
ListGroupsResult |
withStatus(Integer status)
The HTTP status of the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Group> getGroupList()
The list of the groups.
public void setGroupList(Collection<Group> groupList)
The list of the groups.
groupList
- The list of the groups.public ListGroupsResult withGroupList(Group... groupList)
The list of the groups.
NOTE: This method appends the values to the existing list (if any). Use
setGroupList(java.util.Collection)
or withGroupList(java.util.Collection)
if you want to
override the existing values.
groupList
- The list of the groups.public ListGroupsResult withGroupList(Collection<Group> groupList)
The list of the groups.
groupList
- The list of the groups.public void setNextToken(String nextToken)
A pagination token that can be used in a subsequent request.
nextToken
- A pagination token that can be used in a subsequent request.public String getNextToken()
A pagination token that can be used in a subsequent request.
public ListGroupsResult withNextToken(String nextToken)
A pagination token that can be used in a subsequent request.
nextToken
- A pagination token that can be used in a subsequent request.public void setRequestId(String requestId)
The AWS request ID for this operation.
requestId
- The AWS request ID for this operation.public String getRequestId()
The AWS request ID for this operation.
public ListGroupsResult withRequestId(String requestId)
The AWS request ID for this operation.
requestId
- The AWS request ID for this operation.public void setStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public Integer getStatus()
The HTTP status of the request.
public ListGroupsResult withStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public String toString()
toString
in class Object
Object.toString()
public ListGroupsResult clone()