@Generated(value="software.amazon.awssdk:codegen") public final class Workspace extends Object implements StructuredPojo, ToCopyableBuilder<Workspace.Builder,Workspace>
Contains information about 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 that the WorkSpace was created from.
|
String |
computerName()
The name of the WorkSpace as seen by the operating system.
|
String |
directoryId()
The identifier of the AWS Directory Service directory that the WorkSpace belongs to.
|
boolean |
equals(Object obj) |
String |
errorCode()
If the WorkSpace could not be created, this contains the error code.
|
String |
errorMessage()
If the WorkSpace could not be created, this contains a textual error message that describes the failure.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ipAddress()
The IP address of the WorkSpace.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Boolean |
rootVolumeEncryptionEnabled()
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
|
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 that the WorkSpace is in.
|
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 that the WorkSpace is assigned to.
|
Boolean |
userVolumeEncryptionEnabled()
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
|
String |
volumeEncryptionKey()
The KMS key used to encrypt data stored on your WorkSpace.
|
String |
workspaceId()
The identifier of the WorkSpace.
|
WorkspaceProperties |
workspaceProperties()
Returns the value of the WorkspaceProperties property for this object.
|
copy
public String workspaceId()
The identifier of the WorkSpace.
public String directoryId()
The identifier of the AWS Directory Service directory that the WorkSpace belongs to.
public String userName()
The user that the WorkSpace is assigned to.
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 that the WorkSpace was created from.
public String subnetId()
The identifier of the subnet that the WorkSpace is in.
public String errorMessage()
If the WorkSpace could not be created, this contains a textual error message that describes the failure.
public String errorCode()
If the WorkSpace could not be created, this contains the error code.
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()
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
public Boolean rootVolumeEncryptionEnabled()
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
public WorkspaceProperties workspaceProperties()
public Workspace.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Workspace.Builder,Workspace>
public static Workspace.Builder builder()
public static Class<? extends Workspace.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.