@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()
The list of workgroups, including their names, descriptions, creation times, and states.
|
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)
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 generated by the Athena service that specifies where to continue pagination if a previous request was
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, setSdkResponseMetadatapublic 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 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 ObjectObject.toString()public ListWorkGroupsResult clone()
Copyright © 2020. All rights reserved.