@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectionHealth extends Object implements Serializable, Cloneable, StructuredPojo
Describes connection health.
| Constructor and Description |
|---|
ConnectionHealth() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionHealth |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The connection status.
|
Date |
getTimestamp()
The time the status was last updated.
|
String |
getType()
The connection type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setStatus(String status)
The connection status.
|
void |
setTimestamp(Date timestamp)
The time the status was last updated.
|
void |
setType(String type)
The connection type.
|
String |
toString()
Returns a string representation of this object.
|
ConnectionHealth |
withStatus(ConnectionStatus status)
The connection status.
|
ConnectionHealth |
withStatus(String status)
The connection status.
|
ConnectionHealth |
withTimestamp(Date timestamp)
The time the status was last updated.
|
ConnectionHealth |
withType(ConnectionType type)
The connection type.
|
ConnectionHealth |
withType(String type)
The connection type.
|
public void setType(String type)
The connection type.
type - The connection type.ConnectionTypepublic String getType()
The connection type.
ConnectionTypepublic ConnectionHealth withType(String type)
The connection type.
type - The connection type.ConnectionTypepublic ConnectionHealth withType(ConnectionType type)
The connection type.
type - The connection type.ConnectionTypepublic void setStatus(String status)
The connection status.
status - The connection status.ConnectionStatuspublic String getStatus()
The connection status.
ConnectionStatuspublic ConnectionHealth withStatus(String status)
The connection status.
status - The connection status.ConnectionStatuspublic ConnectionHealth withStatus(ConnectionStatus status)
The connection status.
status - The connection status.ConnectionStatuspublic void setTimestamp(Date timestamp)
The time the status was last updated.
timestamp - The time the status was last updated.public Date getTimestamp()
The time the status was last updated.
public ConnectionHealth withTimestamp(Date timestamp)
The time the status was last updated.
timestamp - The time the status was last updated.public String toString()
toString in class ObjectObject.toString()public ConnectionHealth clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.