Class WorkspaceConnectionStatus
- java.lang.Object
-
- software.amazon.awssdk.services.workspaces.model.WorkspaceConnectionStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WorkspaceConnectionStatus.Builder,WorkspaceConnectionStatus>
@Generated("software.amazon.awssdk:codegen") public final class WorkspaceConnectionStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkspaceConnectionStatus.Builder,WorkspaceConnectionStatus>
Describes the connection status of a WorkSpace.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWorkspaceConnectionStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkspaceConnectionStatus.Builderbuilder()ConnectionStateconnectionState()The connection state of the WorkSpace.StringconnectionStateAsString()The connection state of the WorkSpace.InstantconnectionStateCheckTimestamp()The timestamp of the connection status check.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastKnownUserConnectionTimestamp()The timestamp of the last known user connection.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends WorkspaceConnectionStatus.Builder>serializableBuilderClass()WorkspaceConnectionStatus.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkspaceId()The identifier of the WorkSpace.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
workspaceId
public final String workspaceId()
The identifier of the WorkSpace.
- Returns:
- The identifier of the WorkSpace.
-
connectionState
public final 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,
connectionStatewill returnConnectionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectionStateAsString().- Returns:
- The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.
- See Also:
ConnectionState
-
connectionStateAsString
public final 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,
connectionStatewill returnConnectionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectionStateAsString().- Returns:
- The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.
- See Also:
ConnectionState
-
connectionStateCheckTimestamp
public final Instant connectionStateCheckTimestamp()
The timestamp of the connection status check.
- Returns:
- The timestamp of the connection status check.
-
lastKnownUserConnectionTimestamp
public final Instant lastKnownUserConnectionTimestamp()
The timestamp of the last known user connection.
- Returns:
- The timestamp of the last known user connection.
-
toBuilder
public WorkspaceConnectionStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WorkspaceConnectionStatus.Builder,WorkspaceConnectionStatus>
-
builder
public static WorkspaceConnectionStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends WorkspaceConnectionStatus.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-