@Generated(value="software.amazon.awssdk:codegen") public final class WorkspaceConnectionStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkspaceConnectionStatus.Builder,WorkspaceConnectionStatus>
Describes the connection status of a WorkSpace.
Modifier and Type | Class and Description |
---|---|
static interface |
WorkspaceConnectionStatus.Builder |
Modifier and Type | Method and Description |
---|---|
static WorkspaceConnectionStatus.Builder |
builder() |
ConnectionState |
connectionState()
The connection state of the WorkSpace.
|
String |
connectionStateAsString()
The connection state of the WorkSpace.
|
Instant |
connectionStateCheckTimestamp()
The timestamp of the connection status check.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastKnownUserConnectionTimestamp()
The timestamp of the last known user connection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WorkspaceConnectionStatus.Builder> |
serializableBuilderClass() |
WorkspaceConnectionStatus.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
workspaceId()
The identifier of the WorkSpace.
|
copy
public String workspaceId()
The identifier of the WorkSpace.
public ConnectionState connectionState()
The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.
If the service returns an enum value that is not available in the current SDK version, connectionState
will return ConnectionState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from connectionStateAsString()
.
ConnectionState
public String connectionStateAsString()
The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.
If the service returns an enum value that is not available in the current SDK version, connectionState
will return ConnectionState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from connectionStateAsString()
.
ConnectionState
public Instant connectionStateCheckTimestamp()
The timestamp of the connection status check.
public Instant lastKnownUserConnectionTimestamp()
The timestamp of the last known user connection.
public WorkspaceConnectionStatus.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<WorkspaceConnectionStatus.Builder,WorkspaceConnectionStatus>
public static WorkspaceConnectionStatus.Builder builder()
public static Class<? extends WorkspaceConnectionStatus.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.