Interface ListNotebookInstanceLifecycleConfigsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListNotebookInstanceLifecycleConfigsResponse.Builder,ListNotebookInstanceLifecycleConfigsResponse>
,SageMakerResponse.Builder
,SdkBuilder<ListNotebookInstanceLifecycleConfigsResponse.Builder,ListNotebookInstanceLifecycleConfigsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListNotebookInstanceLifecycleConfigsResponse
public static interface ListNotebookInstanceLifecycleConfigsResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListNotebookInstanceLifecycleConfigsResponse.Builder,ListNotebookInstanceLifecycleConfigsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListNotebookInstanceLifecycleConfigsResponse.Builder
nextToken(String nextToken)
If the response is truncated, SageMaker returns this token.ListNotebookInstanceLifecycleConfigsResponse.Builder
notebookInstanceLifecycleConfigs(Collection<NotebookInstanceLifecycleConfigSummary> notebookInstanceLifecycleConfigs)
An array ofNotebookInstanceLifecycleConfiguration
objects, each listing a lifecycle configuration.ListNotebookInstanceLifecycleConfigsResponse.Builder
notebookInstanceLifecycleConfigs(Consumer<NotebookInstanceLifecycleConfigSummary.Builder>... notebookInstanceLifecycleConfigs)
An array ofNotebookInstanceLifecycleConfiguration
objects, each listing a lifecycle configuration.ListNotebookInstanceLifecycleConfigsResponse.Builder
notebookInstanceLifecycleConfigs(NotebookInstanceLifecycleConfigSummary... notebookInstanceLifecycleConfigs)
An array ofNotebookInstanceLifecycleConfiguration
objects, each listing a lifecycle configuration.-
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
ListNotebookInstanceLifecycleConfigsResponse.Builder nextToken(String nextToken)
If the response is truncated, SageMaker returns this token. To get the next set of lifecycle configurations, use it in the next request.
- Parameters:
nextToken
- If the response is truncated, SageMaker returns this token. To get the next set of lifecycle configurations, use it in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookInstanceLifecycleConfigs
ListNotebookInstanceLifecycleConfigsResponse.Builder notebookInstanceLifecycleConfigs(Collection<NotebookInstanceLifecycleConfigSummary> notebookInstanceLifecycleConfigs)
An array of
NotebookInstanceLifecycleConfiguration
objects, each listing a lifecycle configuration.- Parameters:
notebookInstanceLifecycleConfigs
- An array ofNotebookInstanceLifecycleConfiguration
objects, each listing a lifecycle configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookInstanceLifecycleConfigs
ListNotebookInstanceLifecycleConfigsResponse.Builder notebookInstanceLifecycleConfigs(NotebookInstanceLifecycleConfigSummary... notebookInstanceLifecycleConfigs)
An array of
NotebookInstanceLifecycleConfiguration
objects, each listing a lifecycle configuration.- Parameters:
notebookInstanceLifecycleConfigs
- An array ofNotebookInstanceLifecycleConfiguration
objects, each listing a lifecycle configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookInstanceLifecycleConfigs
ListNotebookInstanceLifecycleConfigsResponse.Builder notebookInstanceLifecycleConfigs(Consumer<NotebookInstanceLifecycleConfigSummary.Builder>... notebookInstanceLifecycleConfigs)
An array of
This is a convenience method that creates an instance of theNotebookInstanceLifecycleConfiguration
objects, each listing a lifecycle configuration.NotebookInstanceLifecycleConfigSummary.Builder
avoiding the need to create one manually viaNotebookInstanceLifecycleConfigSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#notebookInstanceLifecycleConfigs(List
.) - Parameters:
notebookInstanceLifecycleConfigs
- a consumer that will call methods onNotebookInstanceLifecycleConfigSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#notebookInstanceLifecycleConfigs(java.util.Collection
)
-
-