Class CfnLaunchTemplatePropsMixin.MaintenanceOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnLaunchTemplatePropsMixin.MaintenanceOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.MaintenanceOptionsProperty>
- Enclosing interface:
CfnLaunchTemplatePropsMixin.MaintenanceOptionsProperty
@Stability(Stable)
public static final class CfnLaunchTemplatePropsMixin.MaintenanceOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.MaintenanceOptionsProperty>
A builder for
CfnLaunchTemplatePropsMixin.MaintenanceOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoRecovery(String autoRecovery) Sets the value ofCfnLaunchTemplatePropsMixin.MaintenanceOptionsProperty.getAutoRecovery()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoRecovery
@Stability(Stable) public CfnLaunchTemplatePropsMixin.MaintenanceOptionsProperty.Builder autoRecovery(String autoRecovery) Sets the value ofCfnLaunchTemplatePropsMixin.MaintenanceOptionsProperty.getAutoRecovery()- Parameters:
autoRecovery- Disables the automatic recovery behavior of your instance or sets it to default.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.MaintenanceOptionsProperty>- Returns:
- a new instance of
CfnLaunchTemplatePropsMixin.MaintenanceOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-