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