Interface KernelGatewayAppSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KernelGatewayAppSettings.Builder,
,KernelGatewayAppSettings> SdkBuilder<KernelGatewayAppSettings.Builder,
,KernelGatewayAppSettings> SdkPojo
- Enclosing class:
KernelGatewayAppSettings
-
Method Summary
Modifier and TypeMethodDescriptioncustomImages
(Collection<CustomImage> customImages) A list of custom SageMaker images that are configured to run as a KernelGateway app.customImages
(Consumer<CustomImage.Builder>... customImages) A list of custom SageMaker images that are configured to run as a KernelGateway app.customImages
(CustomImage... customImages) A list of custom SageMaker images that are configured to run as a KernelGateway app.default KernelGatewayAppSettings.Builder
defaultResourceSpec
(Consumer<ResourceSpec.Builder> defaultResourceSpec) The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.defaultResourceSpec
(ResourceSpec defaultResourceSpec) The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.lifecycleConfigArns
(String... lifecycleConfigArns) The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.lifecycleConfigArns
(Collection<String> lifecycleConfigArns) The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.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 KernelGateway app.
The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the CLI or CloudFormation and the instance type parameter value is not passed.
- Parameters:
defaultResourceSpec
- The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the CLI or CloudFormation and the instance type parameter value is not passed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultResourceSpec
default KernelGatewayAppSettings.Builder defaultResourceSpec(Consumer<ResourceSpec.Builder> defaultResourceSpec) The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.
The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the CLI or CloudFormation and the instance type parameter value is not passed.
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:
-
customImages
A list of custom SageMaker images that are configured to run as a KernelGateway app.
- Parameters:
customImages
- A list of custom SageMaker images that are configured to run as a KernelGateway app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customImages
A list of custom SageMaker images that are configured to run as a KernelGateway app.
- Parameters:
customImages
- A list of custom SageMaker images that are configured to run as a KernelGateway app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customImages
A list of custom SageMaker images that are configured to run as a KernelGateway app.
This is a convenience method that creates an instance of theCustomImage.Builder
avoiding the need to create one manually viaCustomImage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomImages(List<CustomImage>)
.- Parameters:
customImages
- a consumer that will call methods onCustomImage.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 the user profile or domain.
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 the user profile or domain.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 the user profile or domain.
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 the user profile or domain.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.
-