@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TerminationHealth extends Object implements Serializable, Cloneable, StructuredPojo
The termination health details, including the source IP address and timestamp of the last successful SIP
OPTIONS
message from your SIP infrastructure.
Constructor and Description |
---|
TerminationHealth() |
Modifier and Type | Method and Description |
---|---|
TerminationHealth |
clone() |
boolean |
equals(Object obj) |
String |
getSource()
The source IP address.
|
Date |
getTimestamp()
The timestamp, in ISO 8601 format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSource(String source)
The source IP address.
|
void |
setTimestamp(Date timestamp)
The timestamp, in ISO 8601 format.
|
String |
toString()
Returns a string representation of this object.
|
TerminationHealth |
withSource(String source)
The source IP address.
|
TerminationHealth |
withTimestamp(Date timestamp)
The timestamp, in ISO 8601 format.
|
public void setTimestamp(Date timestamp)
The timestamp, in ISO 8601 format.
timestamp
- The timestamp, in ISO 8601 format.public Date getTimestamp()
The timestamp, in ISO 8601 format.
public TerminationHealth withTimestamp(Date timestamp)
The timestamp, in ISO 8601 format.
timestamp
- The timestamp, in ISO 8601 format.public void setSource(String source)
The source IP address.
source
- The source IP address.public String getSource()
The source IP address.
public TerminationHealth withSource(String source)
The source IP address.
source
- The source IP address.public String toString()
toString
in class Object
Object.toString()
public TerminationHealth clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.