@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 generated by the Athena service that specifies where to continue pagination if a previous request was
truncated.
|
List<WorkGroupSummary> |
getWorkGroups()
A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states for
each workgroup.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token generated by the Athena service that specifies where to continue pagination if a previous request was
truncated.
|
void |
setWorkGroups(Collection<WorkGroupSummary> workGroups)
A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states for
each workgroup.
|
String |
toString()
Returns a string representation of this object.
|
ListWorkGroupsResult |
withNextToken(String nextToken)
A token generated by the Athena service that specifies where to continue pagination if a previous request was
truncated.
|
ListWorkGroupsResult |
withWorkGroups(Collection<WorkGroupSummary> workGroups)
A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states for
each workgroup.
|
ListWorkGroupsResult |
withWorkGroups(WorkGroupSummary... workGroups)
A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states for
each workgroup.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<WorkGroupSummary> getWorkGroups()
A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states for each workgroup.
public void setWorkGroups(Collection<WorkGroupSummary> workGroups)
A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states for each workgroup.
workGroups
- A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states
for each workgroup.public ListWorkGroupsResult withWorkGroups(WorkGroupSummary... workGroups)
A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states for each workgroup.
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
- A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states
for each workgroup.public ListWorkGroupsResult withWorkGroups(Collection<WorkGroupSummary> workGroups)
A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states for each workgroup.
workGroups
- A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states
for each workgroup.public void setNextToken(String nextToken)
A token generated by the Athena service that specifies where to continue pagination if a previous request was
truncated. To obtain the next set of pages, pass in the NextToken
from the response object of the
previous page call.
nextToken
- A token generated by the Athena service that specifies where to continue pagination if a previous request
was truncated. To obtain the next set of pages, pass in the NextToken
from the response
object of the previous page call.public String getNextToken()
A token generated by the Athena service that specifies where to continue pagination if a previous request was
truncated. To obtain the next set of pages, pass in the NextToken
from the response object of the
previous page call.
NextToken
from the response
object of the previous page call.public ListWorkGroupsResult withNextToken(String nextToken)
A token generated by the Athena service that specifies where to continue pagination if a previous request was
truncated. To obtain the next set of pages, pass in the NextToken
from the response object of the
previous page call.
nextToken
- A token generated by the Athena service that specifies where to continue pagination if a previous request
was truncated. To obtain the next set of pages, pass in the NextToken
from the response
object of the previous page call.public String toString()
toString
in class Object
Object.toString()
public ListWorkGroupsResult clone()