@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkspaceConnectionStatus extends Object implements Serializable, Cloneable, StructuredPojo
Describes the connection status of a WorkSpace.
| Constructor and Description |
|---|
WorkspaceConnectionStatus() |
| Modifier and Type | Method and Description |
|---|---|
WorkspaceConnectionStatus |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionState()
The connection state of the WorkSpace.
|
Date |
getConnectionStateCheckTimestamp()
The timestamp of the connection status check.
|
Date |
getLastKnownUserConnectionTimestamp()
The timestamp of the last known user connection.
|
String |
getWorkspaceId()
The identifier of the WorkSpace.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConnectionState(ConnectionState connectionState)
The connection state of the WorkSpace.
|
void |
setConnectionState(String connectionState)
The connection state of the WorkSpace.
|
void |
setConnectionStateCheckTimestamp(Date connectionStateCheckTimestamp)
The timestamp of the connection status check.
|
void |
setLastKnownUserConnectionTimestamp(Date lastKnownUserConnectionTimestamp)
The timestamp of the last known user connection.
|
void |
setWorkspaceId(String workspaceId)
The identifier of the WorkSpace.
|
String |
toString()
Returns a string representation of this object.
|
WorkspaceConnectionStatus |
withConnectionState(ConnectionState connectionState)
The connection state of the WorkSpace.
|
WorkspaceConnectionStatus |
withConnectionState(String connectionState)
The connection state of the WorkSpace.
|
WorkspaceConnectionStatus |
withConnectionStateCheckTimestamp(Date connectionStateCheckTimestamp)
The timestamp of the connection status check.
|
WorkspaceConnectionStatus |
withLastKnownUserConnectionTimestamp(Date lastKnownUserConnectionTimestamp)
The timestamp of the last known user connection.
|
WorkspaceConnectionStatus |
withWorkspaceId(String workspaceId)
The identifier of the WorkSpace.
|
public void setWorkspaceId(String workspaceId)
The identifier of the WorkSpace.
workspaceId - The identifier of the WorkSpace.public String getWorkspaceId()
The identifier of the WorkSpace.
public WorkspaceConnectionStatus withWorkspaceId(String workspaceId)
The identifier of the WorkSpace.
workspaceId - The identifier of the WorkSpace.public void setConnectionState(String connectionState)
The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.
connectionState - The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.ConnectionStatepublic String getConnectionState()
The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.
ConnectionStatepublic WorkspaceConnectionStatus withConnectionState(String connectionState)
The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.
connectionState - The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.ConnectionStatepublic void setConnectionState(ConnectionState connectionState)
The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.
connectionState - The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.ConnectionStatepublic WorkspaceConnectionStatus withConnectionState(ConnectionState connectionState)
The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.
connectionState - The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.ConnectionStatepublic void setConnectionStateCheckTimestamp(Date connectionStateCheckTimestamp)
The timestamp of the connection status check.
connectionStateCheckTimestamp - The timestamp of the connection status check.public Date getConnectionStateCheckTimestamp()
The timestamp of the connection status check.
public WorkspaceConnectionStatus withConnectionStateCheckTimestamp(Date connectionStateCheckTimestamp)
The timestamp of the connection status check.
connectionStateCheckTimestamp - The timestamp of the connection status check.public void setLastKnownUserConnectionTimestamp(Date lastKnownUserConnectionTimestamp)
The timestamp of the last known user connection.
lastKnownUserConnectionTimestamp - The timestamp of the last known user connection.public Date getLastKnownUserConnectionTimestamp()
The timestamp of the last known user connection.
public WorkspaceConnectionStatus withLastKnownUserConnectionTimestamp(Date lastKnownUserConnectionTimestamp)
The timestamp of the last known user connection.
lastKnownUserConnectionTimestamp - The timestamp of the last known user connection.public String toString()
toString in class ObjectObject.toString()public WorkspaceConnectionStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.