Interface JupyterServerAppSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JupyterServerAppSettings.Builder,
,JupyterServerAppSettings> SdkBuilder<JupyterServerAppSettings.Builder,
,JupyterServerAppSettings> SdkPojo
- Enclosing class:
JupyterServerAppSettings
-
Method Summary
Modifier and TypeMethodDescriptioncodeRepositories
(Collection<CodeRepository> codeRepositories) A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.codeRepositories
(Consumer<CodeRepository.Builder>... codeRepositories) A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.codeRepositories
(CodeRepository... codeRepositories) A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.default JupyterServerAppSettings.Builder
defaultResourceSpec
(Consumer<ResourceSpec.Builder> defaultResourceSpec) The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app.defaultResourceSpec
(ResourceSpec defaultResourceSpec) The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app.lifecycleConfigArns
(String... lifecycleConfigArns) The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp.lifecycleConfigArns
(Collection<String> lifecycleConfigArns) The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp.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
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the
LifecycleConfigArns
parameter, then this parameter is also required.- Parameters:
defaultResourceSpec
- The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use theLifecycleConfigArns
parameter, then this parameter is also required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultResourceSpec
default JupyterServerAppSettings.Builder defaultResourceSpec(Consumer<ResourceSpec.Builder> defaultResourceSpec) The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the
This is a convenience method that creates an instance of theLifecycleConfigArns
parameter, then this parameter is also required.ResourceSpec.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:
-
lifecycleConfigArns
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, the
DefaultResourceSpec
parameter is also required.To remove a Lifecycle Config, you must set
LifecycleConfigArns
to an empty list.- Parameters:
lifecycleConfigArns
- The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, theDefaultResourceSpec
parameter is also required.To remove a Lifecycle Config, you must set
LifecycleConfigArns
to an empty list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleConfigArns
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, the
DefaultResourceSpec
parameter is also required.To remove a Lifecycle Config, you must set
LifecycleConfigArns
to an empty list.- Parameters:
lifecycleConfigArns
- The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, theDefaultResourceSpec
parameter is also required.To remove a Lifecycle Config, you must set
LifecycleConfigArns
to an empty list.- 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 JupyterServer application.
- Parameters:
codeRepositories
- A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer 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 JupyterServer application.
- Parameters:
codeRepositories
- A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeRepositories
JupyterServerAppSettings.Builder codeRepositories(Consumer<CodeRepository.Builder>... codeRepositories) A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer 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:
-