@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 state check.
|
Date |
getLastKnownUserConnectionTimestamp()
The timestamp of the last known user connection.
|
String |
getWorkspaceId()
The ID 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 state check.
|
void |
setLastKnownUserConnectionTimestamp(Date lastKnownUserConnectionTimestamp)
The timestamp of the last known user connection.
|
void |
setWorkspaceId(String workspaceId)
The ID of the WorkSpace.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 state check.
|
WorkspaceConnectionStatus |
withLastKnownUserConnectionTimestamp(Date lastKnownUserConnectionTimestamp)
The timestamp of the last known user connection.
|
WorkspaceConnectionStatus |
withWorkspaceId(String workspaceId)
The ID of the WorkSpace.
|
public void setWorkspaceId(String workspaceId)
The ID of the WorkSpace.
workspaceId
- The ID of the WorkSpace.public String getWorkspaceId()
The ID of the WorkSpace.
public WorkspaceConnectionStatus withWorkspaceId(String workspaceId)
The ID of the WorkSpace.
workspaceId
- The ID of the WorkSpace.public void setConnectionState(String connectionState)
The connection state of the WorkSpace. Returns UNKOWN if the WorkSpace is in a Stopped state.
connectionState
- The connection state of the WorkSpace. Returns UNKOWN if the WorkSpace is in a Stopped state.ConnectionState
public String getConnectionState()
The connection state of the WorkSpace. Returns UNKOWN if the WorkSpace is in a Stopped state.
ConnectionState
public WorkspaceConnectionStatus withConnectionState(String connectionState)
The connection state of the WorkSpace. Returns UNKOWN if the WorkSpace is in a Stopped state.
connectionState
- The connection state of the WorkSpace. Returns UNKOWN if the WorkSpace is in a Stopped state.ConnectionState
public void setConnectionState(ConnectionState connectionState)
The connection state of the WorkSpace. Returns UNKOWN if the WorkSpace is in a Stopped state.
connectionState
- The connection state of the WorkSpace. Returns UNKOWN if the WorkSpace is in a Stopped state.ConnectionState
public WorkspaceConnectionStatus withConnectionState(ConnectionState connectionState)
The connection state of the WorkSpace. Returns UNKOWN if the WorkSpace is in a Stopped state.
connectionState
- The connection state of the WorkSpace. Returns UNKOWN if the WorkSpace is in a Stopped state.ConnectionState
public void setConnectionStateCheckTimestamp(Date connectionStateCheckTimestamp)
The timestamp of the connection state check.
connectionStateCheckTimestamp
- The timestamp of the connection state check.public Date getConnectionStateCheckTimestamp()
The timestamp of the connection state check.
public WorkspaceConnectionStatus withConnectionStateCheckTimestamp(Date connectionStateCheckTimestamp)
The timestamp of the connection state check.
connectionStateCheckTimestamp
- The timestamp of the connection state 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 Object
Object.toString()
public WorkspaceConnectionStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.