public ContainerInstanceHealthStatus withDetails(java.util.Collection<InstanceHealthCheckResult> details) {
        setDetails(details);
        return this;
    }
<p>
An array of objects representing the details of the container instance health status.
</p>

@param details
       An array of objects representing the details of the container instance health status.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/ContainerInstanceHealthStatus.java