@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContainerInstanceHealthStatus extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the health status of the container instance.
Constructor and Description |
---|
ContainerInstanceHealthStatus() |
Modifier and Type | Method and Description |
---|---|
ContainerInstanceHealthStatus |
clone() |
boolean |
equals(Object obj) |
List<InstanceHealthCheckResult> |
getDetails()
An array of objects representing the details of the container instance health status.
|
String |
getOverallStatus()
The overall health status of the container instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDetails(Collection<InstanceHealthCheckResult> details)
An array of objects representing the details of the container instance health status.
|
void |
setOverallStatus(String overallStatus)
The overall health status of the container instance.
|
String |
toString()
Returns a string representation of this object.
|
ContainerInstanceHealthStatus |
withDetails(Collection<InstanceHealthCheckResult> details)
An array of objects representing the details of the container instance health status.
|
ContainerInstanceHealthStatus |
withDetails(InstanceHealthCheckResult... details)
An array of objects representing the details of the container instance health status.
|
ContainerInstanceHealthStatus |
withOverallStatus(InstanceHealthCheckState overallStatus)
The overall health status of the container instance.
|
ContainerInstanceHealthStatus |
withOverallStatus(String overallStatus)
The overall health status of the container instance.
|
public void setOverallStatus(String overallStatus)
The overall health status of the container instance. This is an aggregate status of all container instance health checks.
overallStatus
- The overall health status of the container instance. This is an aggregate status of all container instance
health checks.InstanceHealthCheckState
public String getOverallStatus()
The overall health status of the container instance. This is an aggregate status of all container instance health checks.
InstanceHealthCheckState
public ContainerInstanceHealthStatus withOverallStatus(String overallStatus)
The overall health status of the container instance. This is an aggregate status of all container instance health checks.
overallStatus
- The overall health status of the container instance. This is an aggregate status of all container instance
health checks.InstanceHealthCheckState
public ContainerInstanceHealthStatus withOverallStatus(InstanceHealthCheckState overallStatus)
The overall health status of the container instance. This is an aggregate status of all container instance health checks.
overallStatus
- The overall health status of the container instance. This is an aggregate status of all container instance
health checks.InstanceHealthCheckState
public List<InstanceHealthCheckResult> getDetails()
An array of objects representing the details of the container instance health status.
public void setDetails(Collection<InstanceHealthCheckResult> details)
An array of objects representing the details of the container instance health status.
details
- An array of objects representing the details of the container instance health status.public ContainerInstanceHealthStatus withDetails(InstanceHealthCheckResult... details)
An array of objects representing the details of the container instance health status.
NOTE: This method appends the values to the existing list (if any). Use
setDetails(java.util.Collection)
or withDetails(java.util.Collection)
if you want to override
the existing values.
details
- An array of objects representing the details of the container instance health status.public ContainerInstanceHealthStatus withDetails(Collection<InstanceHealthCheckResult> details)
An array of objects representing the details of the container instance health status.
details
- An array of objects representing the details of the container instance health status.public String toString()
toString
in class Object
Object.toString()
public ContainerInstanceHealthStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.