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