Class CfnLaunchTemplate.EnclaveOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnLaunchTemplate.EnclaveOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchTemplate.EnclaveOptionsProperty>
- Enclosing interface:
CfnLaunchTemplate.EnclaveOptionsProperty
@Stability(Stable)
public static final class CfnLaunchTemplate.EnclaveOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchTemplate.EnclaveOptionsProperty>
A builder for
CfnLaunchTemplate.EnclaveOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnLaunchTemplate.EnclaveOptionsProperty.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnLaunchTemplate.EnclaveOptionsProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofCfnLaunchTemplate.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 CfnLaunchTemplate.EnclaveOptionsProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnLaunchTemplate.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnLaunchTemplate.EnclaveOptionsProperty>
- Returns:
- a new instance of
CfnLaunchTemplate.EnclaveOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-