public static interface ListWorkGroupsResponse.Builder extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<ListWorkGroupsResponse.Builder,ListWorkGroupsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListWorkGroupsResponse.Builder |
nextToken(String nextToken)
A token generated by the Athena service that specifies where to continue pagination if a previous request was
truncated.
|
ListWorkGroupsResponse.Builder |
workGroups(Collection<WorkGroupSummary> workGroups)
A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states
for each workgroup.
|
ListWorkGroupsResponse.Builder |
workGroups(Consumer<WorkGroupSummary.Builder>... workGroups)
A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states
for each workgroup.
|
ListWorkGroupsResponse.Builder |
workGroups(WorkGroupSummary... workGroups)
A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states
for each workgroup.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListWorkGroupsResponse.Builder workGroups(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.ListWorkGroupsResponse.Builder workGroups(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.ListWorkGroupsResponse.Builder workGroups(Consumer<WorkGroupSummary.Builder>... workGroups)
A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states for each workgroup.
This is a convenience method that creates an instance of theWorkGroupSummary.Builder avoiding the need to create one
manually via WorkGroupSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #workGroups(List.
workGroups - a consumer that will call methods on
WorkGroupSummary.Builder#workGroups(java.util.Collection) ListWorkGroupsResponse.Builder nextToken(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.Copyright © 2023. All rights reserved.