public void setGranularity(String granularity) {
        this.granularity = granularity;
    }
<p>
The granularity. The only valid value is <code>1Minute</code>.
</p>

@param granularity
       The granularity. The only valid value is <code>1Minute</code>.
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/MetricGranularityType.java