Interface SpaceJupyterLabAppSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SpaceJupyterLabAppSettings.Builder,
,SpaceJupyterLabAppSettings> SdkBuilder<SpaceJupyterLabAppSettings.Builder,
,SpaceJupyterLabAppSettings> SdkPojo
- Enclosing class:
SpaceJupyterLabAppSettings
public static interface SpaceJupyterLabAppSettings.Builder
extends SdkPojo, CopyableBuilder<SpaceJupyterLabAppSettings.Builder,SpaceJupyterLabAppSettings>
-
Method Summary
Modifier and TypeMethodDescriptioncodeRepositories
(Collection<CodeRepository> codeRepositories) A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.codeRepositories
(Consumer<CodeRepository.Builder>... codeRepositories) A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.codeRepositories
(CodeRepository... codeRepositories) A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.defaultResourceSpec
(Consumer<ResourceSpec.Builder> defaultResourceSpec) Sets the value of the DefaultResourceSpec property for this object.defaultResourceSpec
(ResourceSpec defaultResourceSpec) Sets the value of the DefaultResourceSpec property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
defaultResourceSpec
Sets the value of the DefaultResourceSpec property for this object.- Parameters:
defaultResourceSpec
- The new value for the DefaultResourceSpec property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultResourceSpec
default SpaceJupyterLabAppSettings.Builder defaultResourceSpec(Consumer<ResourceSpec.Builder> defaultResourceSpec) Sets the value of the DefaultResourceSpec property for this object. This is a convenience method that creates an instance of theResourceSpec.Builder
avoiding the need to create one manually viaResourceSpec.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultResourceSpec(ResourceSpec)
.- Parameters:
defaultResourceSpec
- a consumer that will call methods onResourceSpec.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codeRepositories
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
- Parameters:
codeRepositories
- A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeRepositories
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
- Parameters:
codeRepositories
- A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeRepositories
SpaceJupyterLabAppSettings.Builder codeRepositories(Consumer<CodeRepository.Builder>... codeRepositories) A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
This is a convenience method that creates an instance of theCodeRepository.Builder
avoiding the need to create one manually viaCodeRepository.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocodeRepositories(List<CodeRepository>)
.- Parameters:
codeRepositories
- a consumer that will call methods onCodeRepository.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-