Interface ListNotebookInstanceLifecycleConfigsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListNotebookInstanceLifecycleConfigsResponse.Builder,,ListNotebookInstanceLifecycleConfigsResponse> SageMakerResponse.Builder,SdkBuilder<ListNotebookInstanceLifecycleConfigsResponse.Builder,,ListNotebookInstanceLifecycleConfigsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListNotebookInstanceLifecycleConfigsResponse
@Mutable
@NotThreadSafe
public static interface ListNotebookInstanceLifecycleConfigsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListNotebookInstanceLifecycleConfigsResponse.Builder,ListNotebookInstanceLifecycleConfigsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the response is truncated, SageMaker AI returns this token.notebookInstanceLifecycleConfigs(Collection<NotebookInstanceLifecycleConfigSummary> notebookInstanceLifecycleConfigs) An array ofNotebookInstanceLifecycleConfigurationobjects, each listing a lifecycle configuration.notebookInstanceLifecycleConfigs(Consumer<NotebookInstanceLifecycleConfigSummary.Builder>... notebookInstanceLifecycleConfigs) An array ofNotebookInstanceLifecycleConfigurationobjects, each listing a lifecycle configuration.notebookInstanceLifecycleConfigs(NotebookInstanceLifecycleConfigSummary... notebookInstanceLifecycleConfigs) An array ofNotebookInstanceLifecycleConfigurationobjects, each listing a lifecycle configuration.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If the response is truncated, SageMaker AI 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 AI 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
NotebookInstanceLifecycleConfigurationobjects, each listing a lifecycle configuration.- Parameters:
notebookInstanceLifecycleConfigs- An array ofNotebookInstanceLifecycleConfigurationobjects, 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
NotebookInstanceLifecycleConfigurationobjects, each listing a lifecycle configuration.- Parameters:
notebookInstanceLifecycleConfigs- An array ofNotebookInstanceLifecycleConfigurationobjects, 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 theNotebookInstanceLifecycleConfigurationobjects, each listing a lifecycle configuration.NotebookInstanceLifecycleConfigSummary.Builderavoiding the need to create one manually viaNotebookInstanceLifecycleConfigSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotebookInstanceLifecycleConfigs(List<NotebookInstanceLifecycleConfigSummary>).- 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:
-