@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceHealthCheckResult extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the result of a container instance health status check.
| Constructor and Description |
|---|
InstanceHealthCheckResult() |
| Modifier and Type | Method and Description |
|---|---|
InstanceHealthCheckResult |
clone() |
boolean |
equals(Object obj) |
Date |
getLastStatusChange()
The Unix timestamp for when the container instance health status last changed.
|
Date |
getLastUpdated()
The Unix timestamp for when the container instance health status was last updated.
|
String |
getStatus()
The container instance health status.
|
String |
getType()
The type of container instance health status that was verified.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLastStatusChange(Date lastStatusChange)
The Unix timestamp for when the container instance health status last changed.
|
void |
setLastUpdated(Date lastUpdated)
The Unix timestamp for when the container instance health status was last updated.
|
void |
setStatus(String status)
The container instance health status.
|
void |
setType(String type)
The type of container instance health status that was verified.
|
String |
toString()
Returns a string representation of this object.
|
InstanceHealthCheckResult |
withLastStatusChange(Date lastStatusChange)
The Unix timestamp for when the container instance health status last changed.
|
InstanceHealthCheckResult |
withLastUpdated(Date lastUpdated)
The Unix timestamp for when the container instance health status was last updated.
|
InstanceHealthCheckResult |
withStatus(InstanceHealthCheckState status)
The container instance health status.
|
InstanceHealthCheckResult |
withStatus(String status)
The container instance health status.
|
InstanceHealthCheckResult |
withType(InstanceHealthCheckType type)
The type of container instance health status that was verified.
|
InstanceHealthCheckResult |
withType(String type)
The type of container instance health status that was verified.
|
public void setType(String type)
The type of container instance health status that was verified.
type - The type of container instance health status that was verified.InstanceHealthCheckTypepublic String getType()
The type of container instance health status that was verified.
InstanceHealthCheckTypepublic InstanceHealthCheckResult withType(String type)
The type of container instance health status that was verified.
type - The type of container instance health status that was verified.InstanceHealthCheckTypepublic InstanceHealthCheckResult withType(InstanceHealthCheckType type)
The type of container instance health status that was verified.
type - The type of container instance health status that was verified.InstanceHealthCheckTypepublic void setStatus(String status)
The container instance health status.
status - The container instance health status.InstanceHealthCheckStatepublic String getStatus()
The container instance health status.
InstanceHealthCheckStatepublic InstanceHealthCheckResult withStatus(String status)
The container instance health status.
status - The container instance health status.InstanceHealthCheckStatepublic InstanceHealthCheckResult withStatus(InstanceHealthCheckState status)
The container instance health status.
status - The container instance health status.InstanceHealthCheckStatepublic void setLastUpdated(Date lastUpdated)
The Unix timestamp for when the container instance health status was last updated.
lastUpdated - The Unix timestamp for when the container instance health status was last updated.public Date getLastUpdated()
The Unix timestamp for when the container instance health status was last updated.
public InstanceHealthCheckResult withLastUpdated(Date lastUpdated)
The Unix timestamp for when the container instance health status was last updated.
lastUpdated - The Unix timestamp for when the container instance health status was last updated.public void setLastStatusChange(Date lastStatusChange)
The Unix timestamp for when the container instance health status last changed.
lastStatusChange - The Unix timestamp for when the container instance health status last changed.public Date getLastStatusChange()
The Unix timestamp for when the container instance health status last changed.
public InstanceHealthCheckResult withLastStatusChange(Date lastStatusChange)
The Unix timestamp for when the container instance health status last changed.
lastStatusChange - The Unix timestamp for when the container instance health status last changed.public String toString()
toString in class ObjectObject.toString()public InstanceHealthCheckResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.