Example usage for com.amazonaws.services.autoscaling.model Instance getHealthStatus

List of usage examples for com.amazonaws.services.autoscaling.model Instance getHealthStatus

Introduction

In this page you can find the example usage for com.amazonaws.services.autoscaling.model Instance getHealthStatus.

Prototype


public String getHealthStatus() 

Source Link

Document

The last reported health status of the instance.

Usage

From source file:org.xmlsh.aws.asDescribeGroups.java

License:BSD License

private void writeInstances(List<Instance> instances) throws XMLStreamException {
    startElement("instances");
    for (Instance inst : instances) {
        startElement("instance");
        attribute("availability-zone", inst.getAvailabilityZone());
        attribute("health-status", inst.getHealthStatus());
        attribute("instance-id", inst.getInstanceId());
        attribute("launch-configuration", inst.getLaunchConfigurationName());
        attribute("lifecycle-state", inst.getLifecycleState());
        endElement();/*  w  w w . j  av a  2  s . co  m*/

    }
    endElement();

}