Class CfnWorkspacePropsMixin.WorkspacePropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspaces.CfnWorkspacePropsMixin.WorkspacePropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspacePropsMixin.WorkspacePropertiesProperty>
- Enclosing interface:
CfnWorkspacePropsMixin.WorkspacePropertiesProperty
@Stability(Stable)
public static final class CfnWorkspacePropsMixin.WorkspacePropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspacePropsMixin.WorkspacePropertiesProperty>
A builder for
CfnWorkspacePropsMixin.WorkspacePropertiesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.computeTypeName(String computeTypeName) Sets the value ofCfnWorkspacePropsMixin.WorkspacePropertiesProperty.getComputeTypeName()rootVolumeSizeGib(Number rootVolumeSizeGib) runningMode(String runningMode) Sets the value ofCfnWorkspacePropsMixin.WorkspacePropertiesProperty.getRunningMode()runningModeAutoStopTimeoutInMinutes(Number runningModeAutoStopTimeoutInMinutes) userVolumeSizeGib(Number userVolumeSizeGib)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computeTypeName
@Stability(Stable) public CfnWorkspacePropsMixin.WorkspacePropertiesProperty.Builder computeTypeName(String computeTypeName) Sets the value ofCfnWorkspacePropsMixin.WorkspacePropertiesProperty.getComputeTypeName()- Parameters:
computeTypeName- The compute type. For more information, see Amazon WorkSpaces Bundles .- Returns:
this
-
rootVolumeSizeGib
@Stability(Stable) public CfnWorkspacePropsMixin.WorkspacePropertiesProperty.Builder rootVolumeSizeGib(Number rootVolumeSizeGib) - Parameters:
rootVolumeSizeGib- The size of the root volume. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace .- Returns:
this
-
runningMode
@Stability(Stable) public CfnWorkspacePropsMixin.WorkspacePropertiesProperty.Builder runningMode(String runningMode) Sets the value ofCfnWorkspacePropsMixin.WorkspacePropertiesProperty.getRunningMode()- Parameters:
runningMode- The running mode. For more information, see Manage the WorkSpace Running Mode .- Returns:
this
-
runningModeAutoStopTimeoutInMinutes
@Stability(Stable) public CfnWorkspacePropsMixin.WorkspacePropertiesProperty.Builder runningModeAutoStopTimeoutInMinutes(Number runningModeAutoStopTimeoutInMinutes) Sets the value ofCfnWorkspacePropsMixin.WorkspacePropertiesProperty.getRunningModeAutoStopTimeoutInMinutes()- Parameters:
runningModeAutoStopTimeoutInMinutes- The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.- Returns:
this
-
userVolumeSizeGib
@Stability(Stable) public CfnWorkspacePropsMixin.WorkspacePropertiesProperty.Builder userVolumeSizeGib(Number userVolumeSizeGib) - Parameters:
userVolumeSizeGib- The size of the user storage. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspacePropsMixin.WorkspacePropertiesProperty>- Returns:
- a new instance of
CfnWorkspacePropsMixin.WorkspacePropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-