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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListNotebookInstancesResponse.Builder
nextToken(String nextToken)
If the response to the previousListNotebookInstances
request was truncated, SageMaker AI returns this token.ListNotebookInstancesResponse.Builder
notebookInstances(Collection<NotebookInstanceSummary> notebookInstances)
An array ofNotebookInstanceSummary
objects, one for each notebook instance.ListNotebookInstancesResponse.Builder
notebookInstances(Consumer<NotebookInstanceSummary.Builder>... notebookInstances)
An array ofNotebookInstanceSummary
objects, one for each notebook instance.ListNotebookInstancesResponse.Builder
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListNotebookInstancesResponse.Builder nextToken(String nextToken)
If the response to the previous
ListNotebookInstances
request was truncated, SageMaker AI 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 AI 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 to#notebookInstances(List
.) - 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:
#notebookInstances(java.util.Collection
)
-
-