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