Interface ListNotebookSessionsResponse.Builder
- All Superinterfaces:
AthenaResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListNotebookSessionsResponse.Builder,
,ListNotebookSessionsResponse> SdkBuilder<ListNotebookSessionsResponse.Builder,
,ListNotebookSessionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListNotebookSessionsResponse
public static interface ListNotebookSessionsResponse.Builder
extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<ListNotebookSessionsResponse.Builder,ListNotebookSessionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.notebookSessionsList
(Collection<NotebookSessionSummary> notebookSessionsList) A list of the sessions belonging to the notebook.notebookSessionsList
(Consumer<NotebookSessionSummary.Builder>... notebookSessionsList) A list of the sessions belonging to the notebook.notebookSessionsList
(NotebookSessionSummary... notebookSessionsList) A list of the sessions belonging to the notebook.Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
notebookSessionsList
ListNotebookSessionsResponse.Builder notebookSessionsList(Collection<NotebookSessionSummary> notebookSessionsList) A list of the sessions belonging to the notebook.
- Parameters:
notebookSessionsList
- A list of the sessions belonging to the notebook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookSessionsList
ListNotebookSessionsResponse.Builder notebookSessionsList(NotebookSessionSummary... notebookSessionsList) A list of the sessions belonging to the notebook.
- Parameters:
notebookSessionsList
- A list of the sessions belonging to the notebook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookSessionsList
ListNotebookSessionsResponse.Builder notebookSessionsList(Consumer<NotebookSessionSummary.Builder>... notebookSessionsList) A list of the sessions belonging to the notebook.
This is a convenience method that creates an instance of theNotebookSessionSummary.Builder
avoiding the need to create one manually viaNotebookSessionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotebookSessionsList(List<NotebookSessionSummary>)
.- Parameters:
notebookSessionsList
- a consumer that will call methods onNotebookSessionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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 theNextToken
from the response object of the previous page call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-