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 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 |
relatedWorkspaces(Collection<RelatedWorkspaceProperties> relatedWorkspaces)
The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
|
Workspace.Builder |
relatedWorkspaces(Consumer<RelatedWorkspaceProperties.Builder>... relatedWorkspaces)
The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
|
Workspace.Builder |
relatedWorkspaces(RelatedWorkspaceProperties... relatedWorkspaces)
The standby WorkSpace or primary WorkSpace related to the specified 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 symmetric 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWorkspace.Builder workspaceId(String workspaceId)
The identifier of the WorkSpace.
workspaceId - The identifier of the WorkSpace.Workspace.Builder directoryId(String directoryId)
The identifier of the Directory Service directory for the WorkSpace.
directoryId - The identifier of the 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.
After a WorkSpace is terminated, the TERMINATED state is returned only briefly before the
WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is
terminated, check for the WorkSpace ID by using DescribeWorkSpaces.
If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.
state - The operational state of the WorkSpace.
After a WorkSpace is terminated, the TERMINATED state is returned only briefly before the
WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a
WorkSpace is terminated, check for the WorkSpace ID by using
DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully
terminated.
WorkspaceState,
WorkspaceStateWorkspace.Builder state(WorkspaceState state)
The operational state of the WorkSpace.
After a WorkSpace is terminated, the TERMINATED state is returned only briefly before the
WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is
terminated, check for the WorkSpace ID by using DescribeWorkSpaces.
If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.
state - The operational state of the WorkSpace.
After a WorkSpace is terminated, the TERMINATED state is returned only briefly before the
WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a
WorkSpace is terminated, check for the WorkSpace ID by using
DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully
terminated.
WorkspaceState,
WorkspaceStateWorkspace.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. The format of this name varies. For more information, see Launch a WorkSpace.
computerName - The name of the WorkSpace, as seen by the operating system. The format of this name varies. For more
information, see
Launch a WorkSpace.Workspace.Builder volumeEncryptionKey(String volumeEncryptionKey)
The symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
volumeEncryptionKey - The symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not
support asymmetric KMS keys.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 method 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.BuilderworkspaceProperties(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 method that creates an instance of theModificationState.Builder avoiding the need to
create one manually via ModificationState.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #modificationStates(List.
modificationStates - a consumer that will call methods on
ModificationState.Builder#modificationStates(java.util.Collection) Workspace.Builder relatedWorkspaces(Collection<RelatedWorkspaceProperties> relatedWorkspaces)
The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
relatedWorkspaces - The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.Workspace.Builder relatedWorkspaces(RelatedWorkspaceProperties... relatedWorkspaces)
The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
relatedWorkspaces - The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.Workspace.Builder relatedWorkspaces(Consumer<RelatedWorkspaceProperties.Builder>... relatedWorkspaces)
The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
This is a convenience method that creates an instance of theRelatedWorkspaceProperties.Builder avoiding the need
to create one manually via
RelatedWorkspaceProperties.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #relatedWorkspaces(List.
relatedWorkspaces - a consumer that will call methods on
RelatedWorkspaceProperties.Builder#relatedWorkspaces(java.util.Collection) Copyright © 2023. All rights reserved.