Class CfnLaunchTemplatePropsMixin.HibernationOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnLaunchTemplatePropsMixin.HibernationOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.HibernationOptionsProperty>
- Enclosing interface:
CfnLaunchTemplatePropsMixin.HibernationOptionsProperty
@Stability(Stable)
public static final class CfnLaunchTemplatePropsMixin.HibernationOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.HibernationOptionsProperty>
A builder for
CfnLaunchTemplatePropsMixin.HibernationOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configured(Boolean configured) Sets the value ofCfnLaunchTemplatePropsMixin.HibernationOptionsProperty.getConfigured()configured(IResolvable configured) Sets the value ofCfnLaunchTemplatePropsMixin.HibernationOptionsProperty.getConfigured()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configured
@Stability(Stable) public CfnLaunchTemplatePropsMixin.HibernationOptionsProperty.Builder configured(Boolean configured) Sets the value ofCfnLaunchTemplatePropsMixin.HibernationOptionsProperty.getConfigured()- Parameters:
configured- If you set this parameter totrue, the instance is enabled for hibernation. Default:false- Returns:
this
-
configured
@Stability(Stable) public CfnLaunchTemplatePropsMixin.HibernationOptionsProperty.Builder configured(IResolvable configured) Sets the value ofCfnLaunchTemplatePropsMixin.HibernationOptionsProperty.getConfigured()- Parameters:
configured- If you set this parameter totrue, the instance is enabled for hibernation. Default:false- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.HibernationOptionsProperty>- Returns:
- a new instance of
CfnLaunchTemplatePropsMixin.HibernationOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-