/** * The statistic to apply to the alarm's associated metric. * * @param statistic the statistic to apply to the alarm's associated metric * * @return this {@code SaveAlarmOptions} object */ public SaveAlarmOptions statistic(Statistics statistic) { checkNotNull(statistic, "statistic"); checkArgument(statistic != Statistics.UNRECOGNIZED, "statistic unrecognized"); formParameters.put("Statistic", statistic.toString()); return this; }
/** * The statistic for the metric. * * @param statistic statistic for the metric * * @return this {@code ListAlarmsForMetric} object */ public ListAlarmsForMetric statistic(Statistics statistic) { checkNotNull(statistic, "statistic"); checkArgument(statistic != Statistics.UNRECOGNIZED, "statistic unrecognized"); formParameters.put("Statistic", statistic.toString()); return this; }
/** * The statistic to apply to the alarm's associated metric. * * @param statistic the statistic to apply to the alarm's associated metric * * @return this {@code SaveAlarmOptions} object */ public SaveAlarmOptions statistic(Statistics statistic) { checkNotNull(statistic, "statistic"); checkArgument(statistic != Statistics.UNRECOGNIZED, "statistic unrecognized"); formParameters.put("Statistic", statistic.toString()); return this; }
/** * The statistic for the metric. * * @param statistic statistic for the metric * * @return this {@code ListAlarmsForMetric} object */ public ListAlarmsForMetric statistic(Statistics statistic) { checkNotNull(statistic, "statistic"); checkArgument(statistic != Statistics.UNRECOGNIZED, "statistic unrecognized"); formParameters.put("Statistic", statistic.toString()); return this; }
/** * The statistic to apply to the alarm's associated metric. * * @param statistic the statistic to apply to the alarm's associated metric * * @return this {@code SaveAlarmOptions} object */ public SaveAlarmOptions statistic(Statistics statistic) { checkNotNull(statistic, "statistic"); checkArgument(statistic != Statistics.UNRECOGNIZED, "statistic unrecognized"); formParameters.put("Statistic", statistic.toString()); return this; }
/** * The statistic to apply to the alarm's associated metric. * * @param statistic the statistic to apply to the alarm's associated metric * * @return this {@code SaveAlarmOptions} object */ public SaveAlarmOptions statistic(Statistics statistic) { checkNotNull(statistic, "statistic"); checkArgument(statistic != Statistics.UNRECOGNIZED, "statistic unrecognized"); formParameters.put("Statistic", statistic.toString()); return this; }
/** * The statistic for the metric. * * @param statistic statistic for the metric * * @return this {@code ListAlarmsForMetric} object */ public ListAlarmsForMetric statistic(Statistics statistic) { checkNotNull(statistic, "statistic"); checkArgument(statistic != Statistics.UNRECOGNIZED, "statistic unrecognized"); formParameters.put("Statistic", statistic.toString()); return this; }
/** * The statistic to apply to the alarm's associated metric. * * @param statistic the statistic to apply to the alarm's associated metric * * @return this {@code SaveAlarmOptions} object */ public SaveAlarmOptions statistic(Statistics statistic) { checkNotNull(statistic, "statistic"); checkArgument(statistic != Statistics.UNRECOGNIZED, "statistic unrecognized"); formParameters.put("Statistic", statistic.toString()); return this; }
/** * The statistic for the metric. * * @param statistic statistic for the metric * * @return this {@code ListAlarmsForMetric} object */ public ListAlarmsForMetric statistic(Statistics statistic) { checkNotNull(statistic, "statistic"); checkArgument(statistic != Statistics.UNRECOGNIZED, "statistic unrecognized"); formParameters.put("Statistic", statistic.toString()); return this; }
/** * The statistic to apply to the alarm's associated metric. * * @param statistic the statistic to apply to the alarm's associated metric * * @return this {@code SaveAlarmOptions} object */ public SaveAlarmOptions statistic(Statistics statistic) { checkNotNull(statistic, "statistic"); checkArgument(statistic != Statistics.UNRECOGNIZED, "statistic unrecognized"); formParameters.put("Statistic", statistic.toString()); return this; }
/** * The statistic for the metric. * * @param statistic statistic for the metric * * @return this {@code ListAlarmsForMetric} object */ public ListAlarmsForMetric statistic(Statistics statistic) { checkNotNull(statistic, "statistic"); checkArgument(statistic != Statistics.UNRECOGNIZED, "statistic unrecognized"); formParameters.put("Statistic", statistic.toString()); return this; }
/** * The statistic for the metric. * * @param statistic statistic for the metric * * @return this {@code ListAlarmsForMetric} object */ public ListAlarmsForMetric statistic(Statistics statistic) { checkNotNull(statistic, "statistic"); checkArgument(statistic != Statistics.UNRECOGNIZED, "statistic unrecognized"); formParameters.put("Statistic", statistic.toString()); return this; }
assertEquals(formParameters.get("Namespace"), ImmutableSet.of(namespace)); assertEquals(formParameters.get("Period"), ImmutableSet.of(Integer.toString(period))); assertEquals(formParameters.get("Statistic"), ImmutableSet.of(statistic.toString())); assertEquals(formParameters.get("Unit"), ImmutableSet.of(unit.toString()));
assertEquals(formParameters.get("Namespace"), ImmutableSet.of(namespace)); assertEquals(formParameters.get("Period"), ImmutableSet.of(Integer.toString(period))); assertEquals(formParameters.get("Statistic"), ImmutableSet.of(statistic.toString())); assertEquals(formParameters.get("Unit"), ImmutableSet.of(unit.toString()));
assertEquals(formParameters.get("Namespace"), ImmutableSet.of(namespace)); assertEquals(formParameters.get("Period"), ImmutableSet.of(Integer.toString(period))); assertEquals(formParameters.get("Statistic"), ImmutableSet.of(statistic.toString())); assertEquals(formParameters.get("Threshold"), ImmutableSet.of(Double.toString(threshold))); assertEquals(formParameters.get("Unit"), ImmutableSet.of(unit.toString()));
assertEquals(formParameters.get("Namespace"), ImmutableSet.of(namespace)); assertEquals(formParameters.get("Period"), ImmutableSet.of(Integer.toString(period))); assertEquals(formParameters.get("Statistic"), ImmutableSet.of(statistic.toString())); assertEquals(formParameters.get("Threshold"), ImmutableSet.of(Double.toString(threshold))); assertEquals(formParameters.get("Unit"), ImmutableSet.of(unit.toString()));
.put("Namespace", namespace) .put("Period", Integer.toString(period)) .put("Statistic", statistics.toString()) .put("Unit", unit.toString()) .put("Signature", "y%2BpU0Lp6AAO2QSrNld1VQY4DhKVHcyn44dIfnrmJhpg%3D")
.put("Namespace", namespace) .put("Period", Integer.toString(period)) .put("Statistic", statistics.toString()) .put("Unit", unit.toString()) .put("Signature", "y%2BpU0Lp6AAO2QSrNld1VQY4DhKVHcyn44dIfnrmJhpg%3D")