@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
.ConnectionStatus
public String getStatus()
The connection status of the tunnel. Valid values are CONNECTED
and DISCONNECTED
.
CONNECTED
and
DISCONNECTED
.ConnectionStatus
public 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
.ConnectionStatus
public 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
.ConnectionStatus
public 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 Object
Object.toString()
public ConnectionState 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.