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