@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Workspace extends Object implements Serializable, Cloneable, StructuredPojo
Describes 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 used to create the WorkSpace.
|
String |
getComputerName()
The name of the WorkSpace, as seen by the operating system.
|
DataReplicationSettings |
getDataReplicationSettings()
Indicates the settings of the data replication.
|
String |
getDirectoryId()
The identifier of the Directory Service directory for the WorkSpace.
|
String |
getErrorCode()
The error code that is returned if the WorkSpace cannot be created.
|
String |
getErrorMessage()
The text of the error message that is returned if the WorkSpace cannot be created.
|
String |
getIpAddress()
The IP address of the WorkSpace.
|
List<ModificationState> |
getModificationStates()
The modification states of the WorkSpace.
|
List<RelatedWorkspaceProperties> |
getRelatedWorkspaces()
The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
|
Boolean |
getRootVolumeEncryptionEnabled()
Indicates whether the data stored on the root volume is encrypted.
|
List<StandbyWorkspacesProperties> |
getStandbyWorkspacesProperties()
The properties of the standby WorkSpace
|
String |
getState()
The operational state of the WorkSpace.
|
String |
getSubnetId()
The identifier of the subnet for the WorkSpace.
|
String |
getUserName()
The user for the WorkSpace.
|
Boolean |
getUserVolumeEncryptionEnabled()
Indicates whether the data stored on the user volume is encrypted.
|
String |
getVolumeEncryptionKey()
The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace.
|
String |
getWorkspaceId()
The identifier of the WorkSpace.
|
String |
getWorkspaceName()
The name of the user-decoupled WorkSpace.
|
WorkspaceProperties |
getWorkspaceProperties()
The properties of the WorkSpace.
|
int |
hashCode() |
Boolean |
isRootVolumeEncryptionEnabled()
Indicates whether the data stored on the root volume is encrypted.
|
Boolean |
isUserVolumeEncryptionEnabled()
Indicates whether the data stored on the user volume is encrypted.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBundleId(String bundleId)
The identifier of the bundle used to create the WorkSpace.
|
void |
setComputerName(String computerName)
The name of the WorkSpace, as seen by the operating system.
|
void |
setDataReplicationSettings(DataReplicationSettings dataReplicationSettings)
Indicates the settings of the data replication.
|
void |
setDirectoryId(String directoryId)
The identifier of the Directory Service directory for the WorkSpace.
|
void |
setErrorCode(String errorCode)
The error code that is returned if the WorkSpace cannot be created.
|
void |
setErrorMessage(String errorMessage)
The text of the error message that is returned if the WorkSpace cannot be created.
|
void |
setIpAddress(String ipAddress)
The IP address of the WorkSpace.
|
void |
setModificationStates(Collection<ModificationState> modificationStates)
The modification states of the WorkSpace.
|
void |
setRelatedWorkspaces(Collection<RelatedWorkspaceProperties> relatedWorkspaces)
The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
|
void |
setRootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
Indicates whether the data stored on the root volume is encrypted.
|
void |
setStandbyWorkspacesProperties(Collection<StandbyWorkspacesProperties> standbyWorkspacesProperties)
The properties of the standby WorkSpace
|
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 for the WorkSpace.
|
void |
setUserName(String userName)
The user for the WorkSpace.
|
void |
setUserVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)
Indicates whether the data stored on the user volume is encrypted.
|
void |
setVolumeEncryptionKey(String volumeEncryptionKey)
The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace.
|
void |
setWorkspaceId(String workspaceId)
The identifier of the WorkSpace.
|
void |
setWorkspaceName(String workspaceName)
The name of the user-decoupled WorkSpace.
|
void |
setWorkspaceProperties(WorkspaceProperties workspaceProperties)
The properties of the WorkSpace.
|
String |
toString()
Returns a string representation of this object.
|
Workspace |
withBundleId(String bundleId)
The identifier of the bundle used to create the WorkSpace.
|
Workspace |
withComputerName(String computerName)
The name of the WorkSpace, as seen by the operating system.
|
Workspace |
withDataReplicationSettings(DataReplicationSettings dataReplicationSettings)
Indicates the settings of the data replication.
|
Workspace |
withDirectoryId(String directoryId)
The identifier of the Directory Service directory for the WorkSpace.
|
Workspace |
withErrorCode(String errorCode)
The error code that is returned if the WorkSpace cannot be created.
|
Workspace |
withErrorMessage(String errorMessage)
The text of the error message that is returned if the WorkSpace cannot be created.
|
Workspace |
withIpAddress(String ipAddress)
The IP address of the WorkSpace.
|
Workspace |
withModificationStates(Collection<ModificationState> modificationStates)
The modification states of the WorkSpace.
|
Workspace |
withModificationStates(ModificationState... modificationStates)
The modification states of the WorkSpace.
|
Workspace |
withRelatedWorkspaces(Collection<RelatedWorkspaceProperties> relatedWorkspaces)
The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
|
Workspace |
withRelatedWorkspaces(RelatedWorkspaceProperties... relatedWorkspaces)
The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
|
Workspace |
withRootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
Indicates whether the data stored on the root volume is encrypted.
|
Workspace |
withStandbyWorkspacesProperties(Collection<StandbyWorkspacesProperties> standbyWorkspacesProperties)
The properties of the standby WorkSpace
|
Workspace |
withStandbyWorkspacesProperties(StandbyWorkspacesProperties... standbyWorkspacesProperties)
The properties of the standby WorkSpace
|
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 for the WorkSpace.
|
Workspace |
withUserName(String userName)
The user for the WorkSpace.
|
Workspace |
withUserVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)
Indicates whether the data stored on the user volume is encrypted.
|
Workspace |
withVolumeEncryptionKey(String volumeEncryptionKey)
The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace.
|
Workspace |
withWorkspaceId(String workspaceId)
The identifier of the WorkSpace.
|
Workspace |
withWorkspaceName(String workspaceName)
The name of the user-decoupled WorkSpace.
|
Workspace |
withWorkspaceProperties(WorkspaceProperties workspaceProperties)
The properties 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 Directory Service directory for the WorkSpace.
directoryId
- The identifier of the Directory Service directory for the WorkSpace.public String getDirectoryId()
The identifier of the Directory Service directory for the WorkSpace.
public Workspace withDirectoryId(String directoryId)
The identifier of the Directory Service directory for the WorkSpace.
directoryId
- The identifier of the Directory Service directory for the WorkSpace.public void setUserName(String userName)
The user for the WorkSpace.
userName
- The user for the WorkSpace.public String getUserName()
The user for the WorkSpace.
public Workspace withUserName(String userName)
The user for the WorkSpace.
userName
- The user for the WorkSpace.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.
PENDING
– The WorkSpace is in a waiting state (for example, the WorkSpace is being created).
AVAILABLE
– The WorkSpace is running and has passed the health checks.
IMPAIRED
– Refer to UNHEALTHY
state.
UNHEALTHY
– The WorkSpace is not responding to health checks.
REBOOTING
– The WorkSpace is being rebooted (restarted).
STARTING
– The WorkSpace is starting up and health checks are being run.
REBUILDING
– The WorkSpace is being rebuilt.
RESTORING
– The WorkSpace is being restored.
MAINTENANCE
– The WorkSpace is undergoing scheduled maintenance by Amazon Web Services.
ADMIN_MAINTENANCE
– The WorkSpace is undergoing maintenance by the WorkSpaces administrator.
TERMINATING
– The WorkSpace is being deleted.
TERMINATED
– The WorkSpace has been deleted.
SUSPENDED
– The WorkSpace has been suspended for image creation.
UPDATING
– The WorkSpace is undergoing an update.
STOPPING
– The WorkSpace is being stopped.
STOPPED
– The WorkSpace has been stopped.
ERROR
– The WorkSpace is an error state (for example, an error occurred during startup).
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.
PENDING
– The WorkSpace is in a waiting state (for example, the WorkSpace is being created).
AVAILABLE
– The WorkSpace is running and has passed the health checks.
IMPAIRED
– Refer to UNHEALTHY
state.
UNHEALTHY
– The WorkSpace is not responding to health checks.
REBOOTING
– The WorkSpace is being rebooted (restarted).
STARTING
– The WorkSpace is starting up and health checks are being run.
REBUILDING
– The WorkSpace is being rebuilt.
RESTORING
– The WorkSpace is being restored.
MAINTENANCE
– The WorkSpace is undergoing scheduled maintenance by Amazon Web Services.
ADMIN_MAINTENANCE
– The WorkSpace is undergoing maintenance by the WorkSpaces administrator.
TERMINATING
– The WorkSpace is being deleted.
TERMINATED
– The WorkSpace has been deleted.
SUSPENDED
– The WorkSpace has been suspended for image creation.
UPDATING
– The WorkSpace is undergoing an update.
STOPPING
– The WorkSpace is being stopped.
STOPPED
– The WorkSpace has been stopped.
ERROR
– The WorkSpace is an error state (for example, an error occurred during startup).
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
public String getState()
The operational state of the WorkSpace.
PENDING
– The WorkSpace is in a waiting state (for example, the WorkSpace is being created).
AVAILABLE
– The WorkSpace is running and has passed the health checks.
IMPAIRED
– Refer to UNHEALTHY
state.
UNHEALTHY
– The WorkSpace is not responding to health checks.
REBOOTING
– The WorkSpace is being rebooted (restarted).
STARTING
– The WorkSpace is starting up and health checks are being run.
REBUILDING
– The WorkSpace is being rebuilt.
RESTORING
– The WorkSpace is being restored.
MAINTENANCE
– The WorkSpace is undergoing scheduled maintenance by Amazon Web Services.
ADMIN_MAINTENANCE
– The WorkSpace is undergoing maintenance by the WorkSpaces administrator.
TERMINATING
– The WorkSpace is being deleted.
TERMINATED
– The WorkSpace has been deleted.
SUSPENDED
– The WorkSpace has been suspended for image creation.
UPDATING
– The WorkSpace is undergoing an update.
STOPPING
– The WorkSpace is being stopped.
STOPPED
– The WorkSpace has been stopped.
ERROR
– The WorkSpace is an error state (for example, an error occurred during startup).
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.
PENDING
– The WorkSpace is in a waiting state (for example, the WorkSpace is being created).
AVAILABLE
– The WorkSpace is running and has passed the health checks.
IMPAIRED
– Refer to UNHEALTHY
state.
UNHEALTHY
– The WorkSpace is not responding to health checks.
REBOOTING
– The WorkSpace is being rebooted (restarted).
STARTING
– The WorkSpace is starting up and health checks are being run.
REBUILDING
– The WorkSpace is being rebuilt.
RESTORING
– The WorkSpace is being restored.
MAINTENANCE
– The WorkSpace is undergoing scheduled maintenance by Amazon Web Services.
ADMIN_MAINTENANCE
– The WorkSpace is undergoing maintenance by the WorkSpaces administrator.
TERMINATING
– The WorkSpace is being deleted.
TERMINATED
– The WorkSpace has been deleted.
SUSPENDED
– The WorkSpace has been suspended for image creation.
UPDATING
– The WorkSpace is undergoing an update.
STOPPING
– The WorkSpace is being stopped.
STOPPED
– The WorkSpace has been stopped.
ERROR
– The WorkSpace is an error state (for example, an error occurred during startup).
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
public Workspace withState(String state)
The operational state of the WorkSpace.
PENDING
– The WorkSpace is in a waiting state (for example, the WorkSpace is being created).
AVAILABLE
– The WorkSpace is running and has passed the health checks.
IMPAIRED
– Refer to UNHEALTHY
state.
UNHEALTHY
– The WorkSpace is not responding to health checks.
REBOOTING
– The WorkSpace is being rebooted (restarted).
STARTING
– The WorkSpace is starting up and health checks are being run.
REBUILDING
– The WorkSpace is being rebuilt.
RESTORING
– The WorkSpace is being restored.
MAINTENANCE
– The WorkSpace is undergoing scheduled maintenance by Amazon Web Services.
ADMIN_MAINTENANCE
– The WorkSpace is undergoing maintenance by the WorkSpaces administrator.
TERMINATING
– The WorkSpace is being deleted.
TERMINATED
– The WorkSpace has been deleted.
SUSPENDED
– The WorkSpace has been suspended for image creation.
UPDATING
– The WorkSpace is undergoing an update.
STOPPING
– The WorkSpace is being stopped.
STOPPED
– The WorkSpace has been stopped.
ERROR
– The WorkSpace is an error state (for example, an error occurred during startup).
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.
PENDING
– The WorkSpace is in a waiting state (for example, the WorkSpace is being created).
AVAILABLE
– The WorkSpace is running and has passed the health checks.
IMPAIRED
– Refer to UNHEALTHY
state.
UNHEALTHY
– The WorkSpace is not responding to health checks.
REBOOTING
– The WorkSpace is being rebooted (restarted).
STARTING
– The WorkSpace is starting up and health checks are being run.
REBUILDING
– The WorkSpace is being rebuilt.
RESTORING
– The WorkSpace is being restored.
MAINTENANCE
– The WorkSpace is undergoing scheduled maintenance by Amazon Web Services.
ADMIN_MAINTENANCE
– The WorkSpace is undergoing maintenance by the WorkSpaces administrator.
TERMINATING
– The WorkSpace is being deleted.
TERMINATED
– The WorkSpace has been deleted.
SUSPENDED
– The WorkSpace has been suspended for image creation.
UPDATING
– The WorkSpace is undergoing an update.
STOPPING
– The WorkSpace is being stopped.
STOPPED
– The WorkSpace has been stopped.
ERROR
– The WorkSpace is an error state (for example, an error occurred during startup).
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
public void setState(WorkspaceState state)
The operational state of the WorkSpace.
PENDING
– The WorkSpace is in a waiting state (for example, the WorkSpace is being created).
AVAILABLE
– The WorkSpace is running and has passed the health checks.
IMPAIRED
– Refer to UNHEALTHY
state.
UNHEALTHY
– The WorkSpace is not responding to health checks.
REBOOTING
– The WorkSpace is being rebooted (restarted).
STARTING
– The WorkSpace is starting up and health checks are being run.
REBUILDING
– The WorkSpace is being rebuilt.
RESTORING
– The WorkSpace is being restored.
MAINTENANCE
– The WorkSpace is undergoing scheduled maintenance by Amazon Web Services.
ADMIN_MAINTENANCE
– The WorkSpace is undergoing maintenance by the WorkSpaces administrator.
TERMINATING
– The WorkSpace is being deleted.
TERMINATED
– The WorkSpace has been deleted.
SUSPENDED
– The WorkSpace has been suspended for image creation.
UPDATING
– The WorkSpace is undergoing an update.
STOPPING
– The WorkSpace is being stopped.
STOPPED
– The WorkSpace has been stopped.
ERROR
– The WorkSpace is an error state (for example, an error occurred during startup).
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.
PENDING
– The WorkSpace is in a waiting state (for example, the WorkSpace is being created).
AVAILABLE
– The WorkSpace is running and has passed the health checks.
IMPAIRED
– Refer to UNHEALTHY
state.
UNHEALTHY
– The WorkSpace is not responding to health checks.
REBOOTING
– The WorkSpace is being rebooted (restarted).
STARTING
– The WorkSpace is starting up and health checks are being run.
REBUILDING
– The WorkSpace is being rebuilt.
RESTORING
– The WorkSpace is being restored.
MAINTENANCE
– The WorkSpace is undergoing scheduled maintenance by Amazon Web Services.
ADMIN_MAINTENANCE
– The WorkSpace is undergoing maintenance by the WorkSpaces administrator.
TERMINATING
– The WorkSpace is being deleted.
TERMINATED
– The WorkSpace has been deleted.
SUSPENDED
– The WorkSpace has been suspended for image creation.
UPDATING
– The WorkSpace is undergoing an update.
STOPPING
– The WorkSpace is being stopped.
STOPPED
– The WorkSpace has been stopped.
ERROR
– The WorkSpace is an error state (for example, an error occurred during startup).
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
public Workspace withState(WorkspaceState state)
The operational state of the WorkSpace.
PENDING
– The WorkSpace is in a waiting state (for example, the WorkSpace is being created).
AVAILABLE
– The WorkSpace is running and has passed the health checks.
IMPAIRED
– Refer to UNHEALTHY
state.
UNHEALTHY
– The WorkSpace is not responding to health checks.
REBOOTING
– The WorkSpace is being rebooted (restarted).
STARTING
– The WorkSpace is starting up and health checks are being run.
REBUILDING
– The WorkSpace is being rebuilt.
RESTORING
– The WorkSpace is being restored.
MAINTENANCE
– The WorkSpace is undergoing scheduled maintenance by Amazon Web Services.
ADMIN_MAINTENANCE
– The WorkSpace is undergoing maintenance by the WorkSpaces administrator.
TERMINATING
– The WorkSpace is being deleted.
TERMINATED
– The WorkSpace has been deleted.
SUSPENDED
– The WorkSpace has been suspended for image creation.
UPDATING
– The WorkSpace is undergoing an update.
STOPPING
– The WorkSpace is being stopped.
STOPPED
– The WorkSpace has been stopped.
ERROR
– The WorkSpace is an error state (for example, an error occurred during startup).
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.
PENDING
– The WorkSpace is in a waiting state (for example, the WorkSpace is being created).
AVAILABLE
– The WorkSpace is running and has passed the health checks.
IMPAIRED
– Refer to UNHEALTHY
state.
UNHEALTHY
– The WorkSpace is not responding to health checks.
REBOOTING
– The WorkSpace is being rebooted (restarted).
STARTING
– The WorkSpace is starting up and health checks are being run.
REBUILDING
– The WorkSpace is being rebuilt.
RESTORING
– The WorkSpace is being restored.
MAINTENANCE
– The WorkSpace is undergoing scheduled maintenance by Amazon Web Services.
ADMIN_MAINTENANCE
– The WorkSpace is undergoing maintenance by the WorkSpaces administrator.
TERMINATING
– The WorkSpace is being deleted.
TERMINATED
– The WorkSpace has been deleted.
SUSPENDED
– The WorkSpace has been suspended for image creation.
UPDATING
– The WorkSpace is undergoing an update.
STOPPING
– The WorkSpace is being stopped.
STOPPED
– The WorkSpace has been stopped.
ERROR
– The WorkSpace is an error state (for example, an error occurred during startup).
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
public void setBundleId(String bundleId)
The identifier of the bundle used to create the WorkSpace.
bundleId
- The identifier of the bundle used to create the WorkSpace.public String getBundleId()
The identifier of the bundle used to create the WorkSpace.
public Workspace withBundleId(String bundleId)
The identifier of the bundle used to create the WorkSpace.
bundleId
- The identifier of the bundle used to create the WorkSpace.public void setSubnetId(String subnetId)
The identifier of the subnet for the WorkSpace.
subnetId
- The identifier of the subnet for the WorkSpace.public String getSubnetId()
The identifier of the subnet for the WorkSpace.
public Workspace withSubnetId(String subnetId)
The identifier of the subnet for the WorkSpace.
subnetId
- The identifier of the subnet for the WorkSpace.public void setErrorMessage(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.public String getErrorMessage()
The text of the error message that is returned if the WorkSpace cannot be created.
public Workspace withErrorMessage(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.public void setErrorCode(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.public String getErrorCode()
The error code that is returned if the WorkSpace cannot be created.
public Workspace withErrorCode(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.public void setComputerName(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.public String getComputerName()
The name of the WorkSpace, as seen by the operating system. The format of this name varies. For more information, see Launch a WorkSpace.
public Workspace withComputerName(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.public void setVolumeEncryptionKey(String volumeEncryptionKey)
The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
volumeEncryptionKey
- The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not
support asymmetric KMS keys.public String getVolumeEncryptionKey()
The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
public Workspace withVolumeEncryptionKey(String volumeEncryptionKey)
The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
volumeEncryptionKey
- The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not
support asymmetric KMS keys.public void setUserVolumeEncryptionEnabled(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.public Boolean getUserVolumeEncryptionEnabled()
Indicates whether the data stored on the user volume is encrypted.
public Workspace withUserVolumeEncryptionEnabled(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.public Boolean isUserVolumeEncryptionEnabled()
Indicates whether the data stored on the user volume is encrypted.
public void setRootVolumeEncryptionEnabled(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.public Boolean getRootVolumeEncryptionEnabled()
Indicates whether the data stored on the root volume is encrypted.
public Workspace withRootVolumeEncryptionEnabled(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.public Boolean isRootVolumeEncryptionEnabled()
Indicates whether the data stored on the root volume is encrypted.
public void setWorkspaceName(String workspaceName)
The name of the user-decoupled WorkSpace.
workspaceName
- The name of the user-decoupled WorkSpace.public String getWorkspaceName()
The name of the user-decoupled WorkSpace.
public Workspace withWorkspaceName(String workspaceName)
The name of the user-decoupled WorkSpace.
workspaceName
- The name of the user-decoupled WorkSpace.public void setWorkspaceProperties(WorkspaceProperties workspaceProperties)
The properties of the WorkSpace.
workspaceProperties
- The properties of the WorkSpace.public WorkspaceProperties getWorkspaceProperties()
The properties of the WorkSpace.
public Workspace withWorkspaceProperties(WorkspaceProperties workspaceProperties)
The properties of the WorkSpace.
workspaceProperties
- The properties of the WorkSpace.public List<ModificationState> getModificationStates()
The modification states of the WorkSpace.
public void setModificationStates(Collection<ModificationState> modificationStates)
The modification states of the WorkSpace.
modificationStates
- The modification states of the WorkSpace.public Workspace withModificationStates(ModificationState... modificationStates)
The modification states of the WorkSpace.
NOTE: This method appends the values to the existing list (if any). Use
setModificationStates(java.util.Collection)
or withModificationStates(java.util.Collection)
if
you want to override the existing values.
modificationStates
- The modification states of the WorkSpace.public Workspace withModificationStates(Collection<ModificationState> modificationStates)
The modification states of the WorkSpace.
modificationStates
- The modification states of the WorkSpace.public List<RelatedWorkspaceProperties> getRelatedWorkspaces()
The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
public void setRelatedWorkspaces(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.public Workspace withRelatedWorkspaces(RelatedWorkspaceProperties... relatedWorkspaces)
The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
NOTE: This method appends the values to the existing list (if any). Use
setRelatedWorkspaces(java.util.Collection)
or withRelatedWorkspaces(java.util.Collection)
if
you want to override the existing values.
relatedWorkspaces
- The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.public Workspace withRelatedWorkspaces(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.public void setDataReplicationSettings(DataReplicationSettings dataReplicationSettings)
Indicates the settings of the data replication.
dataReplicationSettings
- Indicates the settings of the data replication.public DataReplicationSettings getDataReplicationSettings()
Indicates the settings of the data replication.
public Workspace withDataReplicationSettings(DataReplicationSettings dataReplicationSettings)
Indicates the settings of the data replication.
dataReplicationSettings
- Indicates the settings of the data replication.public List<StandbyWorkspacesProperties> getStandbyWorkspacesProperties()
The properties of the standby WorkSpace
public void setStandbyWorkspacesProperties(Collection<StandbyWorkspacesProperties> standbyWorkspacesProperties)
The properties of the standby WorkSpace
standbyWorkspacesProperties
- The properties of the standby WorkSpacepublic Workspace withStandbyWorkspacesProperties(StandbyWorkspacesProperties... standbyWorkspacesProperties)
The properties of the standby WorkSpace
NOTE: This method appends the values to the existing list (if any). Use
setStandbyWorkspacesProperties(java.util.Collection)
or
withStandbyWorkspacesProperties(java.util.Collection)
if you want to override the existing values.
standbyWorkspacesProperties
- The properties of the standby WorkSpacepublic Workspace withStandbyWorkspacesProperties(Collection<StandbyWorkspacesProperties> standbyWorkspacesProperties)
The properties of the standby WorkSpace
standbyWorkspacesProperties
- The properties of the standby WorkSpacepublic String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.