public static interface Workspace.Builder extends SdkPojo, CopyableBuilder<Workspace.Builder,Workspace>
Modifier and Type | Method and Description |
---|---|
Workspace.Builder |
bundleId(String bundleId)
The identifier of the bundle used to create the WorkSpace.
|
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 for the WorkSpace.
|
Workspace.Builder |
errorCode(String errorCode)
The error code that is returned if the WorkSpace cannot be created.
|
Workspace.Builder |
errorMessage(String errorMessage)
The text of the error message that is returned if the WorkSpace cannot be created.
|
Workspace.Builder |
ipAddress(String ipAddress)
The IP address of the WorkSpace.
|
Workspace.Builder |
modificationStates(Collection<ModificationState> modificationStates)
The modification states of the WorkSpace.
|
Workspace.Builder |
modificationStates(Consumer<ModificationState.Builder>... modificationStates)
The modification states of the WorkSpace.
|
Workspace.Builder |
modificationStates(ModificationState... modificationStates)
The modification states of the WorkSpace.
|
Workspace.Builder |
rootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
Indicates whether the data stored on the root volume 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 for the WorkSpace.
|
Workspace.Builder |
userName(String userName)
The user for the WorkSpace.
|
Workspace.Builder |
userVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)
Indicates whether the data stored on the user volume 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)
The properties of the WorkSpace.
|
Workspace.Builder |
workspaceProperties(WorkspaceProperties workspaceProperties)
The properties of the WorkSpace.
|
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 for the WorkSpace.
directoryId
- The identifier of the AWS Directory Service directory for the WorkSpace.Workspace.Builder userName(String userName)
The user for the WorkSpace.
userName
- The user for the WorkSpace.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 used to create the WorkSpace.
bundleId
- The identifier of the bundle used to create the WorkSpace.Workspace.Builder subnetId(String subnetId)
The identifier of the subnet for the WorkSpace.
subnetId
- The identifier of the subnet for the WorkSpace.Workspace.Builder errorMessage(String errorMessage)
The text of the error message that is returned if the WorkSpace cannot be created.
errorMessage
- The text of the error message that is returned if the WorkSpace cannot be created.Workspace.Builder errorCode(String errorCode)
The error code that is returned if the WorkSpace cannot be created.
errorCode
- The error code that is returned if the WorkSpace cannot be created.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)
Indicates whether the data stored on the user volume is encrypted.
userVolumeEncryptionEnabled
- Indicates whether the data stored on the user volume is encrypted.Workspace.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.Workspace.Builder workspaceProperties(WorkspaceProperties workspaceProperties)
The properties of the WorkSpace.
workspaceProperties
- The properties of the WorkSpace.default Workspace.Builder workspaceProperties(Consumer<WorkspaceProperties.Builder> workspaceProperties)
The properties of the WorkSpace.
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)
Workspace.Builder modificationStates(Collection<ModificationState> modificationStates)
The modification states of the WorkSpace.
modificationStates
- The modification states of the WorkSpace.Workspace.Builder modificationStates(ModificationState... modificationStates)
The modification states of the WorkSpace.
modificationStates
- The modification states of the WorkSpace.Workspace.Builder modificationStates(Consumer<ModificationState.Builder>... modificationStates)
The modification states of 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 #modificationStates(List)
.modificationStates
- a consumer that will call methods on List.Builder
#modificationStates(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.