Class Workspace
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about a WorkSpace.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The identifier of the bundle that the WorkSpace was created from.The name of the WorkSpace as seen by the operating system.The identifier of the AWS Directory Service directory that the WorkSpace belongs to.If the WorkSpace could not be created, this contains the error code.If the WorkSpace could not be created, this contains a textual error message that describes the failure.The IP address of the WorkSpace.Specifies whether the data stored on the root volume, or C: drive, is encrypted.getState()
The operational state of the WorkSpace.The identifier of the subnet that the WorkSpace is in.The user that the WorkSpace is assigned to.Specifies whether the data stored on the user volume, or D: drive, is encrypted.The KMS key used to encrypt data stored on your WorkSpace.The identifier of the WorkSpace.int
hashCode()
Specifies whether the data stored on the root volume, or C: drive, is encrypted.Specifies whether the data stored on the user volume, or D: drive, is encrypted.void
setBundleId
(String bundleId) The identifier of the bundle that the WorkSpace was created from.void
setComputerName
(String computerName) The name of the WorkSpace as seen by the operating system.void
setDirectoryId
(String directoryId) The identifier of the AWS Directory Service directory that the WorkSpace belongs to.void
setErrorCode
(String errorCode) If the WorkSpace could not be created, this contains the error code.void
setErrorMessage
(String errorMessage) If the WorkSpace could not be created, this contains a textual error message that describes the failure.void
setIpAddress
(String ipAddress) The IP address of the WorkSpace.void
setRootVolumeEncryptionEnabled
(Boolean rootVolumeEncryptionEnabled) Specifies whether the data stored on the root volume, or C: drive, is encrypted.void
setState
(WorkspaceState state) The operational state of the WorkSpace.void
The operational state of the WorkSpace.void
setSubnetId
(String subnetId) The identifier of the subnet that the WorkSpace is in.void
setUserName
(String userName) The user that the WorkSpace is assigned to.void
setUserVolumeEncryptionEnabled
(Boolean userVolumeEncryptionEnabled) Specifies whether the data stored on the user volume, or D: drive, is encrypted.void
setVolumeEncryptionKey
(String volumeEncryptionKey) The KMS key used to encrypt data stored on your WorkSpace.void
setWorkspaceId
(String workspaceId) The identifier of the WorkSpace.toString()
Returns a string representation of this object; useful for testing and debugging.withBundleId
(String bundleId) The identifier of the bundle that the WorkSpace was created from.withComputerName
(String computerName) The name of the WorkSpace as seen by the operating system.withDirectoryId
(String directoryId) The identifier of the AWS Directory Service directory that the WorkSpace belongs to.withErrorCode
(String errorCode) If the WorkSpace could not be created, this contains the error code.withErrorMessage
(String errorMessage) If the WorkSpace could not be created, this contains a textual error message that describes the failure.withIpAddress
(String ipAddress) The IP address of the WorkSpace.withRootVolumeEncryptionEnabled
(Boolean rootVolumeEncryptionEnabled) Specifies whether the data stored on the root volume, or C: drive, is encrypted.withState
(WorkspaceState state) The operational state of the WorkSpace.The operational state of the WorkSpace.withSubnetId
(String subnetId) The identifier of the subnet that the WorkSpace is in.withUserName
(String userName) The user that the WorkSpace is assigned to.withUserVolumeEncryptionEnabled
(Boolean userVolumeEncryptionEnabled) Specifies whether the data stored on the user volume, or D: drive, is encrypted.withVolumeEncryptionKey
(String volumeEncryptionKey) The KMS key used to encrypt data stored on your WorkSpace.withWorkspaceId
(String workspaceId) The identifier of the WorkSpace.
-
Constructor Details
-
Workspace
public Workspace()
-
-
Method Details
-
setWorkspaceId
The identifier of the WorkSpace.
- Parameters:
workspaceId
- The identifier of the WorkSpace.
-
getWorkspaceId
The identifier of the WorkSpace.
- Returns:
- The identifier of the WorkSpace.
-
withWorkspaceId
The identifier of the WorkSpace.
- Parameters:
workspaceId
- The identifier of the WorkSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDirectoryId
The identifier of the AWS Directory Service directory that the WorkSpace belongs to.
- Parameters:
directoryId
- The identifier of the AWS Directory Service directory that the WorkSpace belongs to.
-
getDirectoryId
The identifier of the AWS Directory Service directory that the WorkSpace belongs to.
- Returns:
- The identifier of the AWS Directory Service directory that the WorkSpace belongs to.
-
withDirectoryId
The identifier of the AWS Directory Service directory that the WorkSpace belongs to.
- Parameters:
directoryId
- The identifier of the AWS Directory Service directory that the WorkSpace belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUserName
The user that the WorkSpace is assigned to.
- Parameters:
userName
- The user that the WorkSpace is assigned to.
-
getUserName
The user that the WorkSpace is assigned to.
- Returns:
- The user that the WorkSpace is assigned to.
-
withUserName
The user that the WorkSpace is assigned to.
- Parameters:
userName
- The user that the WorkSpace is assigned to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIpAddress
The IP address of the WorkSpace.
- Parameters:
ipAddress
- The IP address of the WorkSpace.
-
getIpAddress
The IP address of the WorkSpace.
- Returns:
- The IP address of the WorkSpace.
-
withIpAddress
The IP address of the WorkSpace.
- Parameters:
ipAddress
- The IP address of the WorkSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setState
The operational state of the WorkSpace.
- Parameters:
state
- The operational state of the WorkSpace.- See Also:
-
getState
The operational state of the WorkSpace.
- Returns:
- The operational state of the WorkSpace.
- See Also:
-
withState
The operational state of the WorkSpace.
- Parameters:
state
- The operational state of the WorkSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setState
The operational state of the WorkSpace.
- Parameters:
state
- The operational state of the WorkSpace.- See Also:
-
withState
The operational state of the WorkSpace.
- Parameters:
state
- The operational state of the WorkSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setBundleId
The identifier of the bundle that the WorkSpace was created from.
- Parameters:
bundleId
- The identifier of the bundle that the WorkSpace was created from.
-
getBundleId
The identifier of the bundle that the WorkSpace was created from.
- Returns:
- The identifier of the bundle that the WorkSpace was created from.
-
withBundleId
The identifier of the bundle that the WorkSpace was created from.
- Parameters:
bundleId
- The identifier of the bundle that the WorkSpace was created from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubnetId
The identifier of the subnet that the WorkSpace is in.
- Parameters:
subnetId
- The identifier of the subnet that the WorkSpace is in.
-
getSubnetId
The identifier of the subnet that the WorkSpace is in.
- Returns:
- The identifier of the subnet that the WorkSpace is in.
-
withSubnetId
The identifier of the subnet that the WorkSpace is in.
- Parameters:
subnetId
- The identifier of the subnet that the WorkSpace is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setErrorMessage
If the WorkSpace could not be created, this contains a textual error message that describes the failure.
- Parameters:
errorMessage
- If the WorkSpace could not be created, this contains a textual error message that describes the failure.
-
getErrorMessage
If the WorkSpace could not be created, this contains a textual error message that describes the failure.
- Returns:
- If the WorkSpace could not be created, this contains a textual error message that describes the failure.
-
withErrorMessage
If the WorkSpace could not be created, this contains a textual error message that describes the failure.
- Parameters:
errorMessage
- If the WorkSpace could not be created, this contains a textual error message that describes the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setErrorCode
If the WorkSpace could not be created, this contains the error code.
- Parameters:
errorCode
- If the WorkSpace could not be created, this contains the error code.
-
getErrorCode
If the WorkSpace could not be created, this contains the error code.
- Returns:
- If the WorkSpace could not be created, this contains the error code.
-
withErrorCode
If the WorkSpace could not be created, this contains the error code.
- Parameters:
errorCode
- If the WorkSpace could not be created, this contains the error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComputerName
The name of the WorkSpace as seen by the operating system.
- Parameters:
computerName
- The name of the WorkSpace as seen by the operating system.
-
getComputerName
The name of the WorkSpace as seen by the operating system.
- Returns:
- The name of the WorkSpace as seen by the operating system.
-
withComputerName
The name of the WorkSpace as seen by the operating system.
- Parameters:
computerName
- The name of the WorkSpace as seen by the operating system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVolumeEncryptionKey
The KMS key used to encrypt data stored on your WorkSpace.
- Parameters:
volumeEncryptionKey
- The KMS key used to encrypt data stored on your WorkSpace.
-
getVolumeEncryptionKey
The KMS key used to encrypt data stored on your WorkSpace.
- Returns:
- The KMS key used to encrypt data stored on your WorkSpace.
-
withVolumeEncryptionKey
The KMS key used to encrypt data stored on your WorkSpace.
- Parameters:
volumeEncryptionKey
- The KMS key used to encrypt data stored on your WorkSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUserVolumeEncryptionEnabled
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
- Parameters:
userVolumeEncryptionEnabled
- Specifies whether the data stored on the user volume, or D: drive, is encrypted.
-
getUserVolumeEncryptionEnabled
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
- Returns:
- Specifies whether the data stored on the user volume, or D: drive, is encrypted.
-
withUserVolumeEncryptionEnabled
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
- Parameters:
userVolumeEncryptionEnabled
- Specifies whether the data stored on the user volume, or D: drive, is encrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isUserVolumeEncryptionEnabled
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
- Returns:
- Specifies whether the data stored on the user volume, or D: drive, is encrypted.
-
setRootVolumeEncryptionEnabled
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
- Parameters:
rootVolumeEncryptionEnabled
- Specifies whether the data stored on the root volume, or C: drive, is encrypted.
-
getRootVolumeEncryptionEnabled
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
- Returns:
- Specifies whether the data stored on the root volume, or C: drive, is encrypted.
-
withRootVolumeEncryptionEnabled
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
- Parameters:
rootVolumeEncryptionEnabled
- Specifies whether the data stored on the root volume, or C: drive, is encrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isRootVolumeEncryptionEnabled
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
- Returns:
- Specifies whether the data stored on the root volume, or C: drive, is encrypted.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-