public static interface WorkspaceRequest.Builder extends CopyableBuilder<WorkspaceRequest.Builder,WorkspaceRequest>
Modifier and Type | Method and Description |
---|---|
WorkspaceRequest.Builder |
bundleId(String bundleId)
The identifier of the bundle to create the WorkSpace from.
|
WorkspaceRequest.Builder |
directoryId(String directoryId)
The identifier of the AWS Directory Service directory to create the WorkSpace in.
|
WorkspaceRequest.Builder |
rootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
|
WorkspaceRequest.Builder |
tags(Collection<Tag> tags)
The tags of the WorkSpace request.
|
WorkspaceRequest.Builder |
tags(Tag... tags)
The tags of the WorkSpace request.
|
WorkspaceRequest.Builder |
userName(String userName)
The username that the WorkSpace is assigned to.
|
WorkspaceRequest.Builder |
userVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
|
WorkspaceRequest.Builder |
volumeEncryptionKey(String volumeEncryptionKey)
The KMS key used to encrypt data stored on your WorkSpace.
|
default WorkspaceRequest.Builder |
workspaceProperties(Consumer<WorkspaceProperties.Builder> workspaceProperties)
Sets the value of the WorkspaceProperties property for this object.
|
WorkspaceRequest.Builder |
workspaceProperties(WorkspaceProperties workspaceProperties)
Sets the value of the WorkspaceProperties property for this object.
|
copy
apply, build
WorkspaceRequest.Builder directoryId(String directoryId)
The identifier of the AWS Directory Service directory to create the WorkSpace in. You can use the DescribeWorkspaceDirectories operation to obtain a list of the directories that are available.
directoryId
- The identifier of the AWS Directory Service directory to create the WorkSpace in. You can use the
DescribeWorkspaceDirectories operation to obtain a list of the directories that are available.WorkspaceRequest.Builder userName(String userName)
The username that the WorkSpace is assigned to. This username must exist in the AWS Directory Service
directory specified by the DirectoryId
member.
userName
- The username that the WorkSpace is assigned to. This username must exist in the AWS Directory Service
directory specified by the DirectoryId
member.WorkspaceRequest.Builder bundleId(String bundleId)
The identifier of the bundle to create the WorkSpace from. You can use the DescribeWorkspaceBundles operation to obtain a list of the bundles that are available.
bundleId
- The identifier of the bundle to create the WorkSpace from. You can use the
DescribeWorkspaceBundles operation to obtain a list of the bundles that are available.WorkspaceRequest.Builder volumeEncryptionKey(String volumeEncryptionKey)
The KMS key used to encrypt data stored on your WorkSpace.
volumeEncryptionKey
- The KMS key used to encrypt data stored on your WorkSpace.WorkspaceRequest.Builder userVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
userVolumeEncryptionEnabled
- Specifies whether the data stored on the user volume, or D: drive, is encrypted.WorkspaceRequest.Builder rootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
rootVolumeEncryptionEnabled
- Specifies whether the data stored on the root volume, or C: drive, is encrypted.WorkspaceRequest.Builder workspaceProperties(WorkspaceProperties workspaceProperties)
workspaceProperties
- The new value for the WorkspaceProperties property for this object.default WorkspaceRequest.Builder workspaceProperties(Consumer<WorkspaceProperties.Builder> workspaceProperties)
WorkspaceProperties.Builder
avoiding the need
to create one manually via WorkspaceProperties.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to workspaceProperties(WorkspaceProperties)
.workspaceProperties
- a consumer that will call methods on WorkspaceProperties.Builder
workspaceProperties(WorkspaceProperties)
WorkspaceRequest.Builder tags(Collection<Tag> tags)
The tags of the WorkSpace request.
tags
- The tags of the WorkSpace request.WorkspaceRequest.Builder tags(Tag... tags)
The tags of the WorkSpace request.
tags
- The tags of the WorkSpace request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.