@Generated(value="software.amazon.awssdk:codegen") public final class Workspace extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Workspace.Builder,Workspace>
Describes a WorkSpace.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Workspace.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Workspace.Builder |
builder() |
String |
bundleId()
The identifier of the bundle used to create the WorkSpace.
|
String |
computerName()
The name of the WorkSpace, as seen by the operating system.
|
String |
directoryId()
The identifier of the AWS Directory Service directory for the WorkSpace.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorCode()
The error code that is returned if the WorkSpace cannot be created.
|
String |
errorMessage()
The text of the error message that is returned if the WorkSpace cannot be created.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasModificationStates()
Returns true if the ModificationStates property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
String |
ipAddress()
The IP address of the WorkSpace.
|
List<ModificationState> |
modificationStates()
The modification states of the WorkSpace.
|
Boolean |
rootVolumeEncryptionEnabled()
Indicates whether the data stored on the root volume is encrypted.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Workspace.Builder> |
serializableBuilderClass() |
WorkspaceState |
state()
The operational state of the WorkSpace.
|
String |
stateAsString()
The operational state of the WorkSpace.
|
String |
subnetId()
The identifier of the subnet for the WorkSpace.
|
Workspace.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
The user for the WorkSpace.
|
Boolean |
userVolumeEncryptionEnabled()
Indicates whether the data stored on the user volume is encrypted.
|
String |
volumeEncryptionKey()
The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace.
|
String |
workspaceId()
The identifier of the WorkSpace.
|
WorkspaceProperties |
workspaceProperties()
The properties of the WorkSpace.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String workspaceId()
The identifier of the WorkSpace.
public final String directoryId()
The identifier of the AWS Directory Service directory for the WorkSpace.
public final String userName()
The user for the WorkSpace.
public final String ipAddress()
The IP address of the WorkSpace.
public final WorkspaceState state()
The operational state of the WorkSpace.
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.
If the service returns an enum value that is not available in the current SDK version, state will return
WorkspaceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
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.
WorkspaceStatepublic final String stateAsString()
The operational state of the WorkSpace.
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.
If the service returns an enum value that is not available in the current SDK version, state will return
WorkspaceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
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.
WorkspaceStatepublic final String bundleId()
The identifier of the bundle used to create the WorkSpace.
public final String subnetId()
The identifier of the subnet for the WorkSpace.
public final String errorMessage()
The text of the error message that is returned if the WorkSpace cannot be created.
public final String errorCode()
The error code that is returned if the WorkSpace cannot be created.
public final 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.
public final String volumeEncryptionKey()
The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
public final Boolean userVolumeEncryptionEnabled()
Indicates whether the data stored on the user volume is encrypted.
public final Boolean rootVolumeEncryptionEnabled()
Indicates whether the data stored on the root volume is encrypted.
public final WorkspaceProperties workspaceProperties()
The properties of the WorkSpace.
public final boolean hasModificationStates()
public final List<ModificationState> modificationStates()
The modification states of the WorkSpace.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasModificationStates() to see if a value was sent in this field.
public Workspace.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Workspace.Builder,Workspace>public static Workspace.Builder builder()
public static Class<? extends Workspace.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.