Class CfnSpace.SpaceAppLifecycleManagementProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnSpace.SpaceAppLifecycleManagementProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpace.SpaceAppLifecycleManagementProperty>
- Enclosing interface:
CfnSpace.SpaceAppLifecycleManagementProperty
@Stability(Stable)
public static final class CfnSpace.SpaceAppLifecycleManagementProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpace.SpaceAppLifecycleManagementProperty>
A builder for
CfnSpace.SpaceAppLifecycleManagementProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.idleSettings
(IResolvable idleSettings) Sets the value ofCfnSpace.SpaceAppLifecycleManagementProperty.getIdleSettings()
idleSettings
(CfnSpace.SpaceIdleSettingsProperty idleSettings) Sets the value ofCfnSpace.SpaceAppLifecycleManagementProperty.getIdleSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
idleSettings
@Stability(Stable) public CfnSpace.SpaceAppLifecycleManagementProperty.Builder idleSettings(IResolvable idleSettings) Sets the value ofCfnSpace.SpaceAppLifecycleManagementProperty.getIdleSettings()
- Parameters:
idleSettings
- Settings related to idle shutdown of Studio applications.- Returns:
this
-
idleSettings
@Stability(Stable) public CfnSpace.SpaceAppLifecycleManagementProperty.Builder idleSettings(CfnSpace.SpaceIdleSettingsProperty idleSettings) Sets the value ofCfnSpace.SpaceAppLifecycleManagementProperty.getIdleSettings()
- Parameters:
idleSettings
- Settings related to idle shutdown of Studio applications.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSpace.SpaceAppLifecycleManagementProperty>
- Returns:
- a new instance of
CfnSpace.SpaceAppLifecycleManagementProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-