.namespace(metric.getNamespace()) .period(300) .startTime(cal.getTime()) .statistics(ImmutableSet.of(Statistics.MAXIMUM, Statistics.MINIMUM))
.namespace(metric.getNamespace()) .period(300) .startTime(cal.getTime()) .statistics(ImmutableSet.of(Statistics.MAXIMUM, Statistics.MINIMUM))
.startTime(startDate)
.namespace("AWS/EC2") .metricName("CPUUtilization") .startTime(before) .endTime(new Date()) .period(60)
.statistic(Statistics.SUM) .period(60) .startTime(startTime) .unit(Unit.COUNT) .build();
.statistic(Statistics.SUM) .period(60) .startTime(startTime) .unit(Unit.COUNT) .build();