public static interface Workspace.Builder extends CopyableBuilder<Workspace.Builder,Workspace>
Modifier and Type | Method and Description |
---|---|
Workspace.Builder |
bundleId(String bundleId)
The identifier of the bundle that the WorkSpace was created from.
|
Workspace.Builder |
computerName(String computerName)
The name of the WorkSpace as seen by the operating system.
|
Workspace.Builder |
directoryId(String directoryId)
The identifier of the AWS Directory Service directory that the WorkSpace belongs to.
|
Workspace.Builder |
errorCode(String errorCode)
If the WorkSpace could not be created, this contains the error code.
|
Workspace.Builder |
errorMessage(String errorMessage)
If the WorkSpace could not be created, this contains a textual error message that describes the failure.
|
Workspace.Builder |
ipAddress(String ipAddress)
The IP address of the WorkSpace.
|
Workspace.Builder |
rootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
|
Workspace.Builder |
state(String state)
The operational state of the WorkSpace.
|
Workspace.Builder |
state(WorkspaceState state)
The operational state of the WorkSpace.
|
Workspace.Builder |
subnetId(String subnetId)
The identifier of the subnet that the WorkSpace is in.
|
Workspace.Builder |
userName(String userName)
The user that the WorkSpace is assigned to.
|
Workspace.Builder |
userVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
|
Workspace.Builder |
volumeEncryptionKey(String volumeEncryptionKey)
The KMS key used to encrypt data stored on your WorkSpace.
|
Workspace.Builder |
workspaceId(String workspaceId)
The identifier of the WorkSpace.
|
default Workspace.Builder |
workspaceProperties(Consumer<WorkspaceProperties.Builder> workspaceProperties)
Sets the value of the WorkspaceProperties property for this object.
|
Workspace.Builder |
workspaceProperties(WorkspaceProperties workspaceProperties)
Sets the value of the WorkspaceProperties property for this object.
|
copy
applyMutation, build
Workspace.Builder workspaceId(String workspaceId)
The identifier of the WorkSpace.
workspaceId
- The identifier of the WorkSpace.Workspace.Builder directoryId(String directoryId)
The identifier of the AWS Directory Service directory that the WorkSpace belongs to.
directoryId
- The identifier of the AWS Directory Service directory that the WorkSpace belongs to.Workspace.Builder userName(String userName)
The user that the WorkSpace is assigned to.
userName
- The user that the WorkSpace is assigned to.Workspace.Builder ipAddress(String ipAddress)
The IP address of the WorkSpace.
ipAddress
- The IP address of the WorkSpace.Workspace.Builder state(String state)
The operational state of the WorkSpace.
state
- The operational state of the WorkSpace.WorkspaceState
,
WorkspaceState
Workspace.Builder state(WorkspaceState state)
The operational state of the WorkSpace.
state
- The operational state of the WorkSpace.WorkspaceState
,
WorkspaceState
Workspace.Builder bundleId(String bundleId)
The identifier of the bundle that the WorkSpace was created from.
bundleId
- The identifier of the bundle that the WorkSpace was created from.Workspace.Builder subnetId(String subnetId)
The identifier of the subnet that the WorkSpace is in.
subnetId
- The identifier of the subnet that the WorkSpace is in.Workspace.Builder errorMessage(String errorMessage)
If the WorkSpace could not be created, this contains a textual error message that describes the failure.
errorMessage
- If the WorkSpace could not be created, this contains a textual error message that describes the
failure.Workspace.Builder errorCode(String errorCode)
If the WorkSpace could not be created, this contains the error code.
errorCode
- If the WorkSpace could not be created, this contains the error code.Workspace.Builder computerName(String computerName)
The name of the WorkSpace as seen by the operating system.
computerName
- The name of the WorkSpace as seen by the operating system.Workspace.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.Workspace.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.Workspace.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.Workspace.Builder workspaceProperties(WorkspaceProperties workspaceProperties)
workspaceProperties
- The new value for the WorkspaceProperties property for this object.default Workspace.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)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.