@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.InstanceHealthCheckType
public String getType()
The type of container instance health status that was verified.
InstanceHealthCheckType
public 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.InstanceHealthCheckType
public 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.InstanceHealthCheckType
public void setStatus(String status)
The container instance health status.
status
- The container instance health status.InstanceHealthCheckState
public String getStatus()
The container instance health status.
InstanceHealthCheckState
public InstanceHealthCheckResult withStatus(String status)
The container instance health status.
status
- The container instance health status.InstanceHealthCheckState
public InstanceHealthCheckResult withStatus(InstanceHealthCheckState status)
The container instance health status.
status
- The container instance health status.InstanceHealthCheckState
public 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 Object
Object.toString()
public InstanceHealthCheckResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.