List of usage examples for com.amazonaws.services.autoscaling.model EnabledMetric getGranularity
public String getGranularity()
The granularity of the metric.
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();/*from w w w . ja v a 2s . c om*/ } endElement(); }