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