@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) |
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() |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
userName()
The user for the WorkSpace.
|
Boolean |
userVolumeEncryptionEnabled()
Indicates whether the data stored on the user volume is encrypted.
|
String |
volumeEncryptionKey()
The KMS key used to encrypt data stored on your WorkSpace.
|
String |
workspaceId()
The identifier of the WorkSpace.
|
WorkspaceProperties |
workspaceProperties()
The properties of the WorkSpace.
|
copy
public String workspaceId()
The identifier of the WorkSpace.
public String directoryId()
The identifier of the AWS Directory Service directory for the WorkSpace.
public String userName()
The user for the WorkSpace.
public String ipAddress()
The IP address of the WorkSpace.
public WorkspaceState state()
The operational state of the WorkSpace.
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()
.
WorkspaceState
public String stateAsString()
The operational state of the WorkSpace.
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()
.
WorkspaceState
public String bundleId()
The identifier of the bundle used to create the WorkSpace.
public String subnetId()
The identifier of the subnet for the WorkSpace.
public String errorMessage()
The text of the error message that is returned if the WorkSpace cannot be created.
public String errorCode()
The error code that is returned if the WorkSpace cannot be created.
public String computerName()
The name of the WorkSpace, as seen by the operating system.
public String volumeEncryptionKey()
The KMS key used to encrypt data stored on your WorkSpace.
public Boolean userVolumeEncryptionEnabled()
Indicates whether the data stored on the user volume is encrypted.
public Boolean rootVolumeEncryptionEnabled()
Indicates whether the data stored on the root volume is encrypted.
public WorkspaceProperties workspaceProperties()
The properties of the WorkSpace.
public List<ModificationState> modificationStates()
The modification states of the WorkSpace.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Workspace.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Workspace.Builder,Workspace>
public static Workspace.Builder builder()
public static Class<? extends Workspace.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.