Class Workspace
- All Implemented Interfaces:
Serializable, Cloneable
Contains information about a WorkSpace.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe 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.inthashCode()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.voidsetBundleId(String bundleId) The identifier of the bundle that the WorkSpace was created from.voidsetComputerName(String computerName) The name of the WorkSpace as seen by the operating system.voidsetDirectoryId(String directoryId) The identifier of the AWS Directory Service directory that the WorkSpace belongs to.voidsetErrorCode(String errorCode) If the WorkSpace could not be created, this contains the error code.voidsetErrorMessage(String errorMessage) If the WorkSpace could not be created, this contains a textual error message that describes the failure.voidsetIpAddress(String ipAddress) The IP address of the WorkSpace.voidsetRootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled) Specifies whether the data stored on the root volume, or C: drive, is encrypted.voidsetState(WorkspaceState state) The operational state of the WorkSpace.voidThe operational state of the WorkSpace.voidsetSubnetId(String subnetId) The identifier of the subnet that the WorkSpace is in.voidsetUserName(String userName) The user that the WorkSpace is assigned to.voidsetUserVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled) Specifies whether the data stored on the user volume, or D: drive, is encrypted.voidsetVolumeEncryptionKey(String volumeEncryptionKey) The KMS key used to encrypt data stored on your WorkSpace.voidsetWorkspaceId(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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
equals
-
hashCode
-
clone
-