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