public static final class CfnWorkspace.Builder
extends java.lang.Object
CfnWorkspace
.Modifier and Type | Method and Description |
---|---|
CfnWorkspace |
build() |
CfnWorkspace.Builder |
bundleId(java.lang.String bundleId)
The identifier of the bundle for the WorkSpace.
|
static CfnWorkspace.Builder |
create(Construct scope,
java.lang.String id) |
CfnWorkspace.Builder |
directoryId(java.lang.String directoryId)
The identifier of the AWS Directory Service directory for the WorkSpace.
|
CfnWorkspace.Builder |
rootVolumeEncryptionEnabled(java.lang.Boolean rootVolumeEncryptionEnabled)
Indicates whether the data stored on the root volume is encrypted.
|
CfnWorkspace.Builder |
rootVolumeEncryptionEnabled(IResolvable rootVolumeEncryptionEnabled)
Indicates whether the data stored on the root volume is encrypted.
|
CfnWorkspace.Builder |
tags(java.util.List<? extends CfnTag> tags)
The tags for the WorkSpace.
|
CfnWorkspace.Builder |
userName(java.lang.String userName)
The user name of the user for the WorkSpace.
|
CfnWorkspace.Builder |
userVolumeEncryptionEnabled(java.lang.Boolean userVolumeEncryptionEnabled)
Indicates whether the data stored on the user volume is encrypted.
|
CfnWorkspace.Builder |
userVolumeEncryptionEnabled(IResolvable userVolumeEncryptionEnabled)
Indicates whether the data stored on the user volume is encrypted.
|
CfnWorkspace.Builder |
volumeEncryptionKey(java.lang.String volumeEncryptionKey)
The symmetric AWS KMS key used to encrypt data stored on your WorkSpace.
|
CfnWorkspace.Builder |
workspaceProperties(CfnWorkspace.WorkspacePropertiesProperty workspaceProperties)
The WorkSpace properties.
|
CfnWorkspace.Builder |
workspaceProperties(IResolvable workspaceProperties)
The WorkSpace properties.
|
public static CfnWorkspace.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnWorkspace.WorkspacePropertiesProperty.Builder
.public CfnWorkspace.Builder bundleId(java.lang.String bundleId)
bundleId
- The identifier of the bundle for the WorkSpace. This parameter is required.this
public CfnWorkspace.Builder directoryId(java.lang.String directoryId)
directoryId
- The identifier of the AWS Directory Service directory for the WorkSpace. This parameter is required.this
public CfnWorkspace.Builder userName(java.lang.String userName)
This user name must exist in the AWS Directory Service directory for the WorkSpace.
userName
- The user name of the user for the WorkSpace. This parameter is required.this
public CfnWorkspace.Builder rootVolumeEncryptionEnabled(java.lang.Boolean rootVolumeEncryptionEnabled)
rootVolumeEncryptionEnabled
- Indicates whether the data stored on the root volume is encrypted. This parameter is required.this
public CfnWorkspace.Builder rootVolumeEncryptionEnabled(IResolvable rootVolumeEncryptionEnabled)
rootVolumeEncryptionEnabled
- Indicates whether the data stored on the root volume is encrypted. This parameter is required.this
public CfnWorkspace.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- The tags for the WorkSpace. This parameter is required.this
public CfnWorkspace.Builder userVolumeEncryptionEnabled(java.lang.Boolean userVolumeEncryptionEnabled)
userVolumeEncryptionEnabled
- Indicates whether the data stored on the user volume is encrypted. This parameter is required.this
public CfnWorkspace.Builder userVolumeEncryptionEnabled(IResolvable userVolumeEncryptionEnabled)
userVolumeEncryptionEnabled
- Indicates whether the data stored on the user volume is encrypted. This parameter is required.this
public CfnWorkspace.Builder volumeEncryptionKey(java.lang.String volumeEncryptionKey)
Amazon WorkSpaces does not support asymmetric KMS keys.
volumeEncryptionKey
- The symmetric AWS KMS key used to encrypt data stored on your WorkSpace. This parameter is required.this
public CfnWorkspace.Builder workspaceProperties(IResolvable workspaceProperties)
workspaceProperties
- The WorkSpace properties. This parameter is required.this
public CfnWorkspace.Builder workspaceProperties(CfnWorkspace.WorkspacePropertiesProperty workspaceProperties)
workspaceProperties
- The WorkSpace properties. This parameter is required.this
public CfnWorkspace build()