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