@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectionState extends Object implements Serializable, Cloneable, StructuredPojo
The state of a connection.
| Constructor and Description |
|---|
ConnectionState() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionState |
clone() |
boolean |
equals(Object obj) |
Date |
getLastUpdatedAt()
The last time the connection status was updated.
|
String |
getStatus()
The connection status of the tunnel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLastUpdatedAt(Date lastUpdatedAt)
The last time the connection status was updated.
|
void |
setStatus(String status)
The connection status of the tunnel.
|
String |
toString()
Returns a string representation of this object.
|
ConnectionState |
withLastUpdatedAt(Date lastUpdatedAt)
The last time the connection status was updated.
|
ConnectionState |
withStatus(ConnectionStatus status)
The connection status of the tunnel.
|
ConnectionState |
withStatus(String status)
The connection status of the tunnel.
|
public void setStatus(String status)
The connection status of the tunnel. Valid values are CONNECTED and DISCONNECTED.
status - The connection status of the tunnel. Valid values are CONNECTED and DISCONNECTED
.ConnectionStatuspublic String getStatus()
The connection status of the tunnel. Valid values are CONNECTED and DISCONNECTED.
CONNECTED and
DISCONNECTED.ConnectionStatuspublic ConnectionState withStatus(String status)
The connection status of the tunnel. Valid values are CONNECTED and DISCONNECTED.
status - The connection status of the tunnel. Valid values are CONNECTED and DISCONNECTED
.ConnectionStatuspublic ConnectionState withStatus(ConnectionStatus status)
The connection status of the tunnel. Valid values are CONNECTED and DISCONNECTED.
status - The connection status of the tunnel. Valid values are CONNECTED and DISCONNECTED
.ConnectionStatuspublic void setLastUpdatedAt(Date lastUpdatedAt)
The last time the connection status was updated.
lastUpdatedAt - The last time the connection status was updated.public Date getLastUpdatedAt()
The last time the connection status was updated.
public ConnectionState withLastUpdatedAt(Date lastUpdatedAt)
The last time the connection status was updated.
lastUpdatedAt - The last time the connection status was updated.public String toString()
toString in class ObjectObject.toString()public ConnectionState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.