public static interface WorkspaceRequest.Builder extends SdkPojo, CopyableBuilder<WorkspaceRequest.Builder,WorkspaceRequest>
Modifier and Type | Method and Description |
---|---|
WorkspaceRequest.Builder |
bundleId(String bundleId)
The identifier of the bundle for the WorkSpace.
|
WorkspaceRequest.Builder |
directoryId(String directoryId)
The identifier of the AWS Directory Service directory for the WorkSpace.
|
WorkspaceRequest.Builder |
rootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
Indicates whether the data stored on the root volume is encrypted.
|
WorkspaceRequest.Builder |
tags(Collection<Tag> tags)
The tags for the WorkSpace.
|
WorkspaceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags for the WorkSpace.
|
WorkspaceRequest.Builder |
tags(Tag... tags)
The tags for the WorkSpace.
|
WorkspaceRequest.Builder |
userName(String userName)
The username of the user for the WorkSpace.
|
WorkspaceRequest.Builder |
userVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)
Indicates whether the data stored on the user volume 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)
The WorkSpace properties.
|
WorkspaceRequest.Builder |
workspaceProperties(WorkspaceProperties workspaceProperties)
The WorkSpace properties.
|
copy
applyMutation, build
WorkspaceRequest.Builder directoryId(String directoryId)
The identifier of the AWS Directory Service directory for the WorkSpace. You can use DescribeWorkspaceDirectories to list the available directories.
directoryId
- The identifier of the AWS Directory Service directory for the WorkSpace. You can use
DescribeWorkspaceDirectories to list the available directories.WorkspaceRequest.Builder userName(String userName)
The username of the user for the WorkSpace. This username must exist in the AWS Directory Service directory for the WorkSpace.
userName
- The username of the user for the WorkSpace. This username must exist in the AWS Directory Service
directory for the WorkSpace.WorkspaceRequest.Builder bundleId(String bundleId)
The identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles to list the available bundles.
bundleId
- The identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles to list
the available bundles.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)
Indicates whether the data stored on the user volume is encrypted.
userVolumeEncryptionEnabled
- Indicates whether the data stored on the user volume is encrypted.WorkspaceRequest.Builder rootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
Indicates whether the data stored on the root volume is encrypted.
rootVolumeEncryptionEnabled
- Indicates whether the data stored on the root volume is encrypted.WorkspaceRequest.Builder workspaceProperties(WorkspaceProperties workspaceProperties)
The WorkSpace properties.
workspaceProperties
- The WorkSpace properties.default WorkspaceRequest.Builder workspaceProperties(Consumer<WorkspaceProperties.Builder> workspaceProperties)
The WorkSpace properties.
This is a convenience that creates an instance of theWorkspaceProperties.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 for the WorkSpace.
tags
- The tags for the WorkSpace.WorkspaceRequest.Builder tags(Tag... tags)
The tags for the WorkSpace.
tags
- The tags for the WorkSpace.WorkspaceRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the WorkSpace.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.