Class CfnWorkspacePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspaces.CfnWorkspacePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspacePropsMixin>
- Enclosing class:
CfnWorkspacePropsMixin
@Stability(Stable)
public static final class CfnWorkspacePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspacePropsMixin>
A fluent builder for
CfnWorkspacePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()The identifier of the bundle for the WorkSpace.create()create(CfnPropertyMixinOptions options) directoryId(String directoryId) The identifier of the 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(CfnWorkspacePropsMixin.WorkspacePropertiesProperty workspaceProperties) The WorkSpace properties.workspaceProperties(IResolvable workspaceProperties) The WorkSpace properties.
-
Method Details
-
create
@Stability(Stable) public static CfnWorkspacePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnWorkspacePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnWorkspacePropsMixin.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 Directory Service directory for the WorkSpace.- Parameters:
directoryId- The identifier of the Directory Service directory for the WorkSpace. This parameter is required.- Returns:
this- See Also:
-
rootVolumeEncryptionEnabled
@Stability(Stable) public CfnWorkspacePropsMixin.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 CfnWorkspacePropsMixin.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:
-
userName
The user name of the user for the WorkSpace.This user name must exist in the 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:
-
userVolumeEncryptionEnabled
@Stability(Stable) public CfnWorkspacePropsMixin.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 CfnWorkspacePropsMixin.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
@Stability(Stable) public CfnWorkspacePropsMixin.Builder volumeEncryptionKey(String 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
@Stability(Stable) public CfnWorkspacePropsMixin.Builder workspaceProperties(IResolvable workspaceProperties) The WorkSpace properties.- Parameters:
workspaceProperties- The WorkSpace properties. This parameter is required.- Returns:
this- See Also:
-
workspaceProperties
@Stability(Stable) public CfnWorkspacePropsMixin.Builder workspaceProperties(CfnWorkspacePropsMixin.WorkspacePropertiesProperty workspaceProperties) The WorkSpace properties.- Parameters:
workspaceProperties- The WorkSpace properties. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspacePropsMixin>- Returns:
- a newly built instance of
CfnWorkspacePropsMixin.
-