Class CfnSpace.SpaceCodeEditorAppSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnSpace.SpaceCodeEditorAppSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpace.SpaceCodeEditorAppSettingsProperty>
- Enclosing interface:
CfnSpace.SpaceCodeEditorAppSettingsProperty
@Stability(Stable)
public static final class CfnSpace.SpaceCodeEditorAppSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpace.SpaceCodeEditorAppSettingsProperty>
A builder for
CfnSpace.SpaceCodeEditorAppSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappLifecycleManagement(IResolvable appLifecycleManagement) Sets the value ofCfnSpace.SpaceCodeEditorAppSettingsProperty.getAppLifecycleManagement()appLifecycleManagement(CfnSpace.SpaceAppLifecycleManagementProperty appLifecycleManagement) Sets the value ofCfnSpace.SpaceCodeEditorAppSettingsProperty.getAppLifecycleManagement()build()Builds the configured instance.defaultResourceSpec(IResolvable defaultResourceSpec) Sets the value ofCfnSpace.SpaceCodeEditorAppSettingsProperty.getDefaultResourceSpec()defaultResourceSpec(CfnSpace.ResourceSpecProperty defaultResourceSpec) Sets the value ofCfnSpace.SpaceCodeEditorAppSettingsProperty.getDefaultResourceSpec()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appLifecycleManagement
@Stability(Stable) public CfnSpace.SpaceCodeEditorAppSettingsProperty.Builder appLifecycleManagement(IResolvable appLifecycleManagement) Sets the value ofCfnSpace.SpaceCodeEditorAppSettingsProperty.getAppLifecycleManagement()- Parameters:
appLifecycleManagement- Settings that are used to configure and manage the lifecycle of CodeEditor applications in a space.- Returns:
this
-
appLifecycleManagement
@Stability(Stable) public CfnSpace.SpaceCodeEditorAppSettingsProperty.Builder appLifecycleManagement(CfnSpace.SpaceAppLifecycleManagementProperty appLifecycleManagement) Sets the value ofCfnSpace.SpaceCodeEditorAppSettingsProperty.getAppLifecycleManagement()- Parameters:
appLifecycleManagement- Settings that are used to configure and manage the lifecycle of CodeEditor applications in a space.- Returns:
this
-
defaultResourceSpec
@Stability(Stable) public CfnSpace.SpaceCodeEditorAppSettingsProperty.Builder defaultResourceSpec(IResolvable defaultResourceSpec) Sets the value ofCfnSpace.SpaceCodeEditorAppSettingsProperty.getDefaultResourceSpec()- Parameters:
defaultResourceSpec- Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.- Returns:
this
-
defaultResourceSpec
@Stability(Stable) public CfnSpace.SpaceCodeEditorAppSettingsProperty.Builder defaultResourceSpec(CfnSpace.ResourceSpecProperty defaultResourceSpec) Sets the value ofCfnSpace.SpaceCodeEditorAppSettingsProperty.getDefaultResourceSpec()- Parameters:
defaultResourceSpec- Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSpace.SpaceCodeEditorAppSettingsProperty>- Returns:
- a new instance of
CfnSpace.SpaceCodeEditorAppSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-