List of usage examples for com.amazonaws.services.autoscaling.model EnabledMetric getMetric
public String getMetric()
One of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
From source file:org.xmlsh.aws.asDescribeGroups.java
License:BSD License
private void writeMetrics(List<EnabledMetric> enabledMetrics) throws XMLStreamException { startElement("enabled-metrics"); for (EnabledMetric metric : enabledMetrics) { startElement("enabled-metric"); attribute("granularity", metric.getGranularity()); attribute("metric", metric.getMetric()); endElement();//w w w. j a va 2 s . co m } endElement(); }