Interface ListNotebookInstancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListNotebookInstancesResponse.Builder,
,ListNotebookInstancesResponse> SageMakerResponse.Builder
,SdkBuilder<ListNotebookInstancesResponse.Builder,
,ListNotebookInstancesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListNotebookInstancesResponse
public static interface ListNotebookInstancesResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListNotebookInstancesResponse.Builder,ListNotebookInstancesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the response to the previousListNotebookInstances
request was truncated, SageMaker returns this token.notebookInstances
(Collection<NotebookInstanceSummary> notebookInstances) An array ofNotebookInstanceSummary
objects, one for each notebook instance.notebookInstances
(Consumer<NotebookInstanceSummary.Builder>... notebookInstances) An array ofNotebookInstanceSummary
objects, one for each notebook instance.notebookInstances
(NotebookInstanceSummary... notebookInstances) An array ofNotebookInstanceSummary
objects, one for each notebook instance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
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
-
nextToken
If the response to the previous
ListNotebookInstances
request was truncated, SageMaker returns this token. To retrieve the next set of notebook instances, use the token in the next request.- Parameters:
nextToken
- If the response to the previousListNotebookInstances
request was truncated, SageMaker returns this token. To retrieve the next set of notebook instances, use the token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookInstances
ListNotebookInstancesResponse.Builder notebookInstances(Collection<NotebookInstanceSummary> notebookInstances) An array of
NotebookInstanceSummary
objects, one for each notebook instance.- Parameters:
notebookInstances
- An array ofNotebookInstanceSummary
objects, one for each notebook instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookInstances
ListNotebookInstancesResponse.Builder notebookInstances(NotebookInstanceSummary... notebookInstances) An array of
NotebookInstanceSummary
objects, one for each notebook instance.- Parameters:
notebookInstances
- An array ofNotebookInstanceSummary
objects, one for each notebook instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookInstances
ListNotebookInstancesResponse.Builder notebookInstances(Consumer<NotebookInstanceSummary.Builder>... notebookInstances) An array of
This is a convenience method that creates an instance of theNotebookInstanceSummary
objects, one for each notebook instance.NotebookInstanceSummary.Builder
avoiding the need to create one manually viaNotebookInstanceSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotebookInstances(List<NotebookInstanceSummary>)
.- Parameters:
notebookInstances
- a consumer that will call methods onNotebookInstanceSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-