Class CfnUserProfilePropsMixin.IdleSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnUserProfilePropsMixin.IdleSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserProfilePropsMixin.IdleSettingsProperty>
- Enclosing interface:
CfnUserProfilePropsMixin.IdleSettingsProperty
@Stability(Stable)
public static final class CfnUserProfilePropsMixin.IdleSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserProfilePropsMixin.IdleSettingsProperty>
A builder for
CfnUserProfilePropsMixin.IdleSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.idleTimeoutInMinutes(Number idleTimeoutInMinutes) Sets the value ofCfnUserProfilePropsMixin.IdleSettingsProperty.getIdleTimeoutInMinutes()lifecycleManagement(String lifecycleManagement) Sets the value ofCfnUserProfilePropsMixin.IdleSettingsProperty.getLifecycleManagement()maxIdleTimeoutInMinutes(Number maxIdleTimeoutInMinutes) minIdleTimeoutInMinutes(Number minIdleTimeoutInMinutes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
idleTimeoutInMinutes
@Stability(Stable) public CfnUserProfilePropsMixin.IdleSettingsProperty.Builder idleTimeoutInMinutes(Number idleTimeoutInMinutes) Sets the value ofCfnUserProfilePropsMixin.IdleSettingsProperty.getIdleTimeoutInMinutes()- Parameters:
idleTimeoutInMinutes- The time that SageMaker waits after the application becomes idle before shutting it down.- Returns:
this
-
lifecycleManagement
@Stability(Stable) public CfnUserProfilePropsMixin.IdleSettingsProperty.Builder lifecycleManagement(String lifecycleManagement) Sets the value ofCfnUserProfilePropsMixin.IdleSettingsProperty.getLifecycleManagement()- Parameters:
lifecycleManagement- Indicates whether idle shutdown is activated for the application type.- Returns:
this
-
maxIdleTimeoutInMinutes
@Stability(Stable) public CfnUserProfilePropsMixin.IdleSettingsProperty.Builder maxIdleTimeoutInMinutes(Number maxIdleTimeoutInMinutes) - Parameters:
maxIdleTimeoutInMinutes- The maximum value in minutes that custom idle shutdown can be set to by the user.- Returns:
this
-
minIdleTimeoutInMinutes
@Stability(Stable) public CfnUserProfilePropsMixin.IdleSettingsProperty.Builder minIdleTimeoutInMinutes(Number minIdleTimeoutInMinutes) - Parameters:
minIdleTimeoutInMinutes- The minimum value in minutes that custom idle shutdown can be set to by the user.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserProfilePropsMixin.IdleSettingsProperty>- Returns:
- a new instance of
CfnUserProfilePropsMixin.IdleSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-