Class CfnApplicationPropsMixin.AutoStopConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.emrserverless.CfnApplicationPropsMixin.AutoStopConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationPropsMixin.AutoStopConfigurationProperty>
- Enclosing interface:
CfnApplicationPropsMixin.AutoStopConfigurationProperty
@Stability(Stable)
public static final class CfnApplicationPropsMixin.AutoStopConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationPropsMixin.AutoStopConfigurationProperty>
A builder for
CfnApplicationPropsMixin.AutoStopConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnApplicationPropsMixin.AutoStopConfigurationProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnApplicationPropsMixin.AutoStopConfigurationProperty.getEnabled()idleTimeoutMinutes(Number idleTimeoutMinutes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnApplicationPropsMixin.AutoStopConfigurationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnApplicationPropsMixin.AutoStopConfigurationProperty.getEnabled()- Parameters:
enabled- Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.- Returns:
this
-
enabled
@Stability(Stable) public CfnApplicationPropsMixin.AutoStopConfigurationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnApplicationPropsMixin.AutoStopConfigurationProperty.getEnabled()- Parameters:
enabled- Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.- Returns:
this
-
idleTimeoutMinutes
@Stability(Stable) public CfnApplicationPropsMixin.AutoStopConfigurationProperty.Builder idleTimeoutMinutes(Number idleTimeoutMinutes) - Parameters:
idleTimeoutMinutes- The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationPropsMixin.AutoStopConfigurationProperty>- Returns:
- a new instance of
CfnApplicationPropsMixin.AutoStopConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-