public static interface ListNotebookInstancesResponse.Builder extends SageMakerResponse.Builder, CopyableBuilder<ListNotebookInstancesResponse.Builder,ListNotebookInstancesResponse>
Modifier and Type | Method and Description |
---|---|
ListNotebookInstancesResponse.Builder |
nextToken(String nextToken)
If the response to the previous
ListNotebookInstances request was truncated, Amazon SageMaker
returns this token. |
ListNotebookInstancesResponse.Builder |
notebookInstances(Collection<NotebookInstanceSummary> notebookInstances)
An array of
NotebookInstanceSummary objects, one for each notebook instance. |
ListNotebookInstancesResponse.Builder |
notebookInstances(Consumer<NotebookInstanceSummary.Builder>... notebookInstances)
An array of
NotebookInstanceSummary objects, one for each notebook instance. |
ListNotebookInstancesResponse.Builder |
notebookInstances(NotebookInstanceSummary... notebookInstances)
An array of
NotebookInstanceSummary objects, one for each notebook instance. |
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListNotebookInstancesResponse.Builder nextToken(String nextToken)
If the response to the previous ListNotebookInstances
request was truncated, Amazon SageMaker
returns this token. To retrieve the next set of notebook instances, use the token in the next request.
nextToken
- If the response to the previous ListNotebookInstances
request was truncated, Amazon
SageMaker returns this token. To retrieve the next set of notebook instances, use the token in the
next request.ListNotebookInstancesResponse.Builder notebookInstances(Collection<NotebookInstanceSummary> notebookInstances)
An array of NotebookInstanceSummary
objects, one for each notebook instance.
notebookInstances
- An array of NotebookInstanceSummary
objects, one for each notebook instance.ListNotebookInstancesResponse.Builder notebookInstances(NotebookInstanceSummary... notebookInstances)
An array of NotebookInstanceSummary
objects, one for each notebook instance.
notebookInstances
- An array of NotebookInstanceSummary
objects, one for each notebook instance.ListNotebookInstancesResponse.Builder notebookInstances(Consumer<NotebookInstanceSummary.Builder>... notebookInstances)
An array of NotebookInstanceSummary
objects, one for each notebook instance.
List.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #notebookInstances(List)
.notebookInstances
- a consumer that will call methods on List.Builder
#notebookInstances(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.