Class CfnApplication.AutoStartConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emrserverless.CfnApplication.AutoStartConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.AutoStartConfigurationProperty>
- Enclosing interface:
CfnApplication.AutoStartConfigurationProperty
@Stability(Stable)
public static final class CfnApplication.AutoStartConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.AutoStartConfigurationProperty>
A builder for
CfnApplication.AutoStartConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnApplication.AutoStartConfigurationProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnApplication.AutoStartConfigurationProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnApplication.AutoStartConfigurationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnApplication.AutoStartConfigurationProperty.getEnabled()- Parameters:
enabled- Enables the application to automatically start on job submission.- Returns:
this
-
enabled
@Stability(Stable) public CfnApplication.AutoStartConfigurationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnApplication.AutoStartConfigurationProperty.getEnabled()- Parameters:
enabled- Enables the application to automatically start on job submission.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplication.AutoStartConfigurationProperty>- Returns:
- a new instance of
CfnApplication.AutoStartConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-