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