Class CfnWorkspaceInstance.EnclaveOptionsRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesinstances.CfnWorkspaceInstance.EnclaveOptionsRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspaceInstance.EnclaveOptionsRequestProperty>
- Enclosing interface:
CfnWorkspaceInstance.EnclaveOptionsRequestProperty
@Stability(Stable)
public static final class CfnWorkspaceInstance.EnclaveOptionsRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspaceInstance.EnclaveOptionsRequestProperty>
A builder for
CfnWorkspaceInstance.EnclaveOptionsRequestProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkspaceInstance.EnclaveOptionsRequestProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnWorkspaceInstance.EnclaveOptionsRequestProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnWorkspaceInstance.EnclaveOptionsRequestProperty.Builder enabled(Boolean enabled) Sets the value ofCfnWorkspaceInstance.EnclaveOptionsRequestProperty.getEnabled()- Parameters:
enabled- the value to be set.- Returns:
this
-
enabled
@Stability(Stable) public CfnWorkspaceInstance.EnclaveOptionsRequestProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnWorkspaceInstance.EnclaveOptionsRequestProperty.getEnabled()- Parameters:
enabled- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspaceInstance.EnclaveOptionsRequestProperty>- Returns:
- a new instance of
CfnWorkspaceInstance.EnclaveOptionsRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-