Class CfnWorkspace.Builder
java.lang.Object
software.amazon.awscdk.services.workspaces.CfnWorkspace.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspace>
- Enclosing class:
CfnWorkspace
@Stability(Stable)
public static final class CfnWorkspace.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspace>
A fluent builder for
CfnWorkspace
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The identifier of the bundle for the WorkSpace.static CfnWorkspace.Builder
directoryId
(String directoryId) The identifier of the AWS Directory Service directory for the WorkSpace.rootVolumeEncryptionEnabled
(Boolean rootVolumeEncryptionEnabled) Indicates whether the data stored on the root volume is encrypted.rootVolumeEncryptionEnabled
(IResolvable rootVolumeEncryptionEnabled) Indicates whether the data stored on the root volume is encrypted.The tags for the WorkSpace.The user name of the user for the WorkSpace.userVolumeEncryptionEnabled
(Boolean userVolumeEncryptionEnabled) Indicates whether the data stored on the user volume is encrypted.userVolumeEncryptionEnabled
(IResolvable userVolumeEncryptionEnabled) Indicates whether the data stored on the user volume is encrypted.volumeEncryptionKey
(String volumeEncryptionKey) The symmetric AWS KMS key used to encrypt data stored on your WorkSpace.workspaceProperties
(IResolvable workspaceProperties) The WorkSpace properties.workspaceProperties
(CfnWorkspace.WorkspacePropertiesProperty workspaceProperties) The WorkSpace properties.
-
Method Details
-
create
@Stability(Stable) public static CfnWorkspace.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnWorkspace.Builder
.
-
bundleId
The identifier of the bundle for the WorkSpace.- Parameters:
bundleId
- The identifier of the bundle for the WorkSpace. This parameter is required.- Returns:
this
- See Also:
-
directoryId
The identifier of the AWS Directory Service directory for the WorkSpace.- Parameters:
directoryId
- The identifier of the AWS Directory Service directory for the WorkSpace. This parameter is required.- Returns:
this
- See Also:
-
userName
The user name of the user for the WorkSpace.This user name must exist in the AWS Directory Service directory for the WorkSpace.
- Parameters:
userName
- The user name of the user for the WorkSpace. This parameter is required.- Returns:
this
- See Also:
-
rootVolumeEncryptionEnabled
@Stability(Stable) public CfnWorkspace.Builder rootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled) Indicates whether the data stored on the root volume is encrypted.- Parameters:
rootVolumeEncryptionEnabled
- Indicates whether the data stored on the root volume is encrypted. This parameter is required.- Returns:
this
- See Also:
-
rootVolumeEncryptionEnabled
@Stability(Stable) public CfnWorkspace.Builder rootVolumeEncryptionEnabled(IResolvable rootVolumeEncryptionEnabled) Indicates whether the data stored on the root volume is encrypted.- Parameters:
rootVolumeEncryptionEnabled
- Indicates whether the data stored on the root volume is encrypted. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags for the WorkSpace.- Parameters:
tags
- The tags for the WorkSpace. This parameter is required.- Returns:
this
- See Also:
-
userVolumeEncryptionEnabled
@Stability(Stable) public CfnWorkspace.Builder userVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled) Indicates whether the data stored on the user volume is encrypted.- Parameters:
userVolumeEncryptionEnabled
- Indicates whether the data stored on the user volume is encrypted. This parameter is required.- Returns:
this
- See Also:
-
userVolumeEncryptionEnabled
@Stability(Stable) public CfnWorkspace.Builder userVolumeEncryptionEnabled(IResolvable userVolumeEncryptionEnabled) Indicates whether the data stored on the user volume is encrypted.- Parameters:
userVolumeEncryptionEnabled
- Indicates whether the data stored on the user volume is encrypted. This parameter is required.- Returns:
this
- See Also:
-
volumeEncryptionKey
The symmetric AWS KMS key used to encrypt data stored on your WorkSpace.Amazon WorkSpaces does not support asymmetric KMS keys.
- Parameters:
volumeEncryptionKey
- The symmetric AWS KMS key used to encrypt data stored on your WorkSpace. This parameter is required.- Returns:
this
- See Also:
-
workspaceProperties
The WorkSpace properties.- Parameters:
workspaceProperties
- The WorkSpace properties. This parameter is required.- Returns:
this
- See Also:
-
workspaceProperties
@Stability(Stable) public CfnWorkspace.Builder workspaceProperties(CfnWorkspace.WorkspacePropertiesProperty workspaceProperties) The WorkSpace properties.- Parameters:
workspaceProperties
- The WorkSpace properties. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkspace>
- Returns:
- a newly built instance of
CfnWorkspace
.
-