@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorkGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListWorkGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListWorkGroupsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token to be used by the next request if this request is truncated.
|
List<WorkGroupSummary> |
getWorkGroups()
The list of workgroups, including their names, descriptions, creation times, and states.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token to be used by the next request if this request is truncated.
|
void |
setWorkGroups(Collection<WorkGroupSummary> workGroups)
The list of workgroups, including their names, descriptions, creation times, and states.
|
String |
toString()
Returns a string representation of this object.
|
ListWorkGroupsResult |
withNextToken(String nextToken)
A token to be used by the next request if this request is truncated.
|
ListWorkGroupsResult |
withWorkGroups(Collection<WorkGroupSummary> workGroups)
The list of workgroups, including their names, descriptions, creation times, and states.
|
ListWorkGroupsResult |
withWorkGroups(WorkGroupSummary... workGroups)
The list of workgroups, including their names, descriptions, creation times, and states.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<WorkGroupSummary> getWorkGroups()
The list of workgroups, including their names, descriptions, creation times, and states.
public void setWorkGroups(Collection<WorkGroupSummary> workGroups)
The list of workgroups, including their names, descriptions, creation times, and states.
workGroups
- The list of workgroups, including their names, descriptions, creation times, and states.public ListWorkGroupsResult withWorkGroups(WorkGroupSummary... workGroups)
The list of workgroups, including their names, descriptions, creation times, and states.
NOTE: This method appends the values to the existing list (if any). Use
setWorkGroups(java.util.Collection)
or withWorkGroups(java.util.Collection)
if you want to
override the existing values.
workGroups
- The list of workgroups, including their names, descriptions, creation times, and states.public ListWorkGroupsResult withWorkGroups(Collection<WorkGroupSummary> workGroups)
The list of workgroups, including their names, descriptions, creation times, and states.
workGroups
- The list of workgroups, including their names, descriptions, creation times, and states.public void setNextToken(String nextToken)
A token to be used by the next request if this request is truncated.
nextToken
- A token to be used by the next request if this request is truncated.public String getNextToken()
A token to be used by the next request if this request is truncated.
public ListWorkGroupsResult withNextToken(String nextToken)
A token to be used by the next request if this request is truncated.
nextToken
- A token to be used by the next request if this request is truncated.public String toString()
toString
in class Object
Object.toString()
public ListWorkGroupsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.