Example usage for com.amazonaws.services.autoscaling.model EnabledMetric getGranularity

List of usage examples for com.amazonaws.services.autoscaling.model EnabledMetric getGranularity

Introduction

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

Prototype


public String getGranularity() 

Source Link

Document

The granularity of the metric.

Usage

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();

}