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 previousListNotebookInstancesrequest was truncated, SageMaker returns this token.notebookInstances(Collection<NotebookInstanceSummary> notebookInstances) An array ofNotebookInstanceSummaryobjects, one for each notebook instance.notebookInstances(Consumer<NotebookInstanceSummary.Builder>... notebookInstances) An array ofNotebookInstanceSummaryobjects, one for each notebook instance.notebookInstances(NotebookInstanceSummary... notebookInstances) An array ofNotebookInstanceSummaryobjects, one for each notebook instance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If the response to the previous
ListNotebookInstancesrequest 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 previousListNotebookInstancesrequest 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
NotebookInstanceSummaryobjects, one for each notebook instance.- Parameters:
notebookInstances- An array ofNotebookInstanceSummaryobjects, 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
NotebookInstanceSummaryobjects, one for each notebook instance.- Parameters:
notebookInstances- An array ofNotebookInstanceSummaryobjects, 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 theNotebookInstanceSummaryobjects, one for each notebook instance.NotebookInstanceSummary.Builderavoiding the need to create one manually viaNotebookInstanceSummary.builder().When the
Consumercompletes,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:
-