Class InstanceMaintenanceOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.instance.InstanceMaintenanceOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<InstanceMaintenanceOptions>
- Enclosing interface:
- InstanceMaintenanceOptions
@Stability(Stable) public static final class InstanceMaintenanceOptions.Builder extends Object implements software.amazon.jsii.Builder<InstanceMaintenanceOptions>
A builder forInstanceMaintenanceOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceMaintenanceOptions.BuilderautoRecovery(String autoRecovery)Sets the value ofInstanceMaintenanceOptions.getAutoRecovery()InstanceMaintenanceOptionsbuild()Builds the configured instance.
-
-
-
Method Detail
-
autoRecovery
@Stability(Stable) public InstanceMaintenanceOptions.Builder autoRecovery(String autoRecovery)
Sets the value ofInstanceMaintenanceOptions.getAutoRecovery()- Parameters:
autoRecovery- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/instance#auto_recovery Instance#auto_recovery}.- Returns:
this
-
build
@Stability(Stable) public InstanceMaintenanceOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InstanceMaintenanceOptions>- Returns:
- a new instance of
InstanceMaintenanceOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-