public boolean apply(ListAlarmsForMetric options) { for (Alarm alarm : api().listForMetric(options)) { if (alarm.getAlarmName().equals(alarmName)) { return true; } } return false; } }, 5, 1, MINUTES).apply(dafmo);
public boolean apply(ListAlarmsForMetric options) { for (Alarm alarm : api().listForMetric(options)) { if (alarm.getAlarmName().equals(alarmName)) { return true; } } return false; } }, 5, 1, MINUTES).apply(dafmo);
.listForMetric(new ListAlarmsForMetric() .dimensions(ImmutableSet.of( new Dimension("TestDimensionName1",
.listForMetric(new ListAlarmsForMetric() .dimensions(ImmutableSet.of( new Dimension("TestDimensionName1",