@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.ConnectionType
public String getType()
The connection type.
ConnectionType
public ConnectionHealth withType(String type)
The connection type.
type
- The connection type.ConnectionType
public ConnectionHealth withType(ConnectionType type)
The connection type.
type
- The connection type.ConnectionType
public void setStatus(String status)
The connection status.
status
- The connection status.ConnectionStatus
public String getStatus()
The connection status.
ConnectionStatus
public ConnectionHealth withStatus(String status)
The connection status.
status
- The connection status.ConnectionStatus
public ConnectionHealth withStatus(ConnectionStatus status)
The connection status.
status
- The connection status.ConnectionStatus
public 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 Object
Object.toString()
public ConnectionHealth clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.