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