Class CfnSpace.KernelGatewayAppSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpace.KernelGatewayAppSettingsProperty>
- Enclosing interface:
CfnSpace.KernelGatewayAppSettingsProperty
CfnSpace.KernelGatewayAppSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.customImages
(List<? extends Object> customImages) Sets the value ofCfnSpace.KernelGatewayAppSettingsProperty.getCustomImages()
customImages
(IResolvable customImages) Sets the value ofCfnSpace.KernelGatewayAppSettingsProperty.getCustomImages()
defaultResourceSpec
(IResolvable defaultResourceSpec) Sets the value ofCfnSpace.KernelGatewayAppSettingsProperty.getDefaultResourceSpec()
defaultResourceSpec
(CfnSpace.ResourceSpecProperty defaultResourceSpec) Sets the value ofCfnSpace.KernelGatewayAppSettingsProperty.getDefaultResourceSpec()
lifecycleConfigArns
(List<String> lifecycleConfigArns) Sets the value ofCfnSpace.KernelGatewayAppSettingsProperty.getLifecycleConfigArns()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customImages
@Stability(Stable) public CfnSpace.KernelGatewayAppSettingsProperty.Builder customImages(IResolvable customImages) Sets the value ofCfnSpace.KernelGatewayAppSettingsProperty.getCustomImages()
- Parameters:
customImages
- A list of custom SageMaker images that are configured to run as a KernelGateway app.- Returns:
this
-
customImages
@Stability(Stable) public CfnSpace.KernelGatewayAppSettingsProperty.Builder customImages(List<? extends Object> customImages) Sets the value ofCfnSpace.KernelGatewayAppSettingsProperty.getCustomImages()
- Parameters:
customImages
- A list of custom SageMaker images that are configured to run as a KernelGateway app.- Returns:
this
-
defaultResourceSpec
@Stability(Stable) public CfnSpace.KernelGatewayAppSettingsProperty.Builder defaultResourceSpec(IResolvable defaultResourceSpec) Sets the value ofCfnSpace.KernelGatewayAppSettingsProperty.getDefaultResourceSpec()
- 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 AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
- Returns:
this
-
defaultResourceSpec
@Stability(Stable) public CfnSpace.KernelGatewayAppSettingsProperty.Builder defaultResourceSpec(CfnSpace.ResourceSpecProperty defaultResourceSpec) Sets the value ofCfnSpace.KernelGatewayAppSettingsProperty.getDefaultResourceSpec()
- 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 AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
- Returns:
this
-
lifecycleConfigArns
@Stability(Stable) public CfnSpace.KernelGatewayAppSettingsProperty.Builder lifecycleConfigArns(List<String> lifecycleConfigArns) Sets the value ofCfnSpace.KernelGatewayAppSettingsProperty.getLifecycleConfigArns()
- 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:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSpace.KernelGatewayAppSettingsProperty>
- Returns:
- a new instance of
CfnSpace.KernelGatewayAppSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-