Package org.jclouds.cloudwatch.domain

Examples of org.jclouds.cloudwatch.domain.Alarm


   public IterableWithMarker<Alarm> expected() {
      Set<Alarm> alarms = Sets.newLinkedHashSet();

      for (int i = 1; i <= 2; i++) {
         alarms.add(new Alarm(
               i == 1,
               ImmutableSet.of("TestAction1", "TestAction2"),
               "TestAlarmARN" + i,
               dateService.iso8601SecondsDateParse("2013-01-0" + i + "T00:00:00Z"),
               "This is test alarm " + i + ".",
View Full Code Here


   public Iterable<Alarm> expected() {
      Set<Alarm> alarms = Sets.newLinkedHashSet();

      for (int i = 1; i <= 2; i++) {
         alarms.add(new Alarm(
               i == 1,
               ImmutableSet.of("TestAction1", "TestAction2"),
               "TestAlarmARN" + i,
               dateService.iso8601SecondsDateParse("2013-01-0" + i + "T00:00:00Z"),
               "This is test alarm " + i + ".",
View Full Code Here

      }
   }

   @Override
   public Alarm getResult() {
      Alarm result = new Alarm(actionsEnabled, alarmActions, alarmARN, alarmConfigurationUpdatedTimestamp,
                                           alarmDescription, alarmName, comparisonOperator, dimensions,
                                           evaluationPeriods, insufficientDataActions, metricName, namespace, okActions,
                                           period, stateReason, Optional.fromNullable(stateReasonData),
                                           stateUpdatedTimestamp, state, statistic, threshold,
                                           Optional.fromNullable(unit));
View Full Code Here

   public IterableWithMarker<Alarm> expected() {
      Set<Alarm> alarms = Sets.newLinkedHashSet();

      for (int i = 1; i <= 2; i++) {
         alarms.add(new Alarm(
               i == 1,
               ImmutableSet.of("TestAction1", "TestAction2"),
               "TestAlarmARN" + i,
               dateService.iso8601SecondsDateParse("2013-01-0" + i + "T00:00:00Z"),
               "This is test alarm " + i + ".",
View Full Code Here

   public Iterable<Alarm> expected() {
      Set<Alarm> alarms = Sets.newLinkedHashSet();

      for (int i = 1; i <= 2; i++) {
         alarms.add(new Alarm(
               i == 1,
               ImmutableSet.of("TestAction1", "TestAction2"),
               "TestAlarmARN" + i,
               dateService.iso8601SecondsDateParse("2013-01-0" + i + "T00:00:00Z"),
               "This is test alarm " + i + ".",
View Full Code Here

      }
   }

   @Override
   public Alarm getResult() {
      Alarm result = new Alarm(actionsEnabled, alarmActions, alarmARN, alarmConfigurationUpdatedTimestamp,
                                           alarmDescription, alarmName, comparisonOperator, dimensions,
                                           evaluationPeriods, insufficientDataActions, metricName, namespace, okActions,
                                           period, stateReason, Optional.fromNullable(stateReasonData),
                                           stateUpdatedTimestamp, state, statistic, threshold,
                                           Optional.fromNullable(unit));
View Full Code Here

      }
   }

   @Override
   public Alarm getResult() {
      Alarm result = new Alarm(actionsEnabled, alarmActions, alarmARN, alarmConfigurationUpdatedTimestamp,
                                           alarmDescription, alarmName, comparisonOperator, dimensions,
                                           evaluationPeriods, insufficientDataActions, metricName, namespace, okActions,
                                           period, stateReason, Optional.fromNullable(stateReasonData),
                                           stateUpdatedTimestamp, state, statistic, threshold,
                                           Optional.fromNullable(unit));
View Full Code Here

      }
   }

   @Override
   public Alarm getResult() {
      Alarm result = new Alarm(actionsEnabled, alarmActions, alarmARN, alarmConfigurationUpdatedTimestamp,
                                           alarmDescription, alarmName, comparisonOperator, dimensions,
                                           evaluationPeriods, insufficientDataActions, metricName, namespace, okActions,
                                           period, stateReason, Optional.fromNullable(stateReasonData),
                                           stateUpdatedTimestamp, state, statistic, threshold,
                                           Optional.fromNullable(unit));
View Full Code Here

   public IterableWithMarker<Alarm> expected() {
      Set<Alarm> alarms = Sets.newLinkedHashSet();

      for (int i = 1; i <= 2; i++) {
         alarms.add(new Alarm(
               i == 1,
               ImmutableSet.of("TestAction1", "TestAction2"),
               "TestAlarmARN" + i,
               dateService.iso8601SecondsDateParse("2013-01-0" + i + "T00:00:00Z"),
               "This is test alarm " + i + ".",
View Full Code Here

   public Iterable<Alarm> expected() {
      Set<Alarm> alarms = Sets.newLinkedHashSet();

      for (int i = 1; i <= 2; i++) {
         alarms.add(new Alarm(
               i == 1,
               ImmutableSet.of("TestAction1", "TestAction2"),
               "TestAlarmARN" + i,
               dateService.iso8601SecondsDateParse("2013-01-0" + i + "T00:00:00Z"),
               "This is test alarm " + i + ".",
View Full Code Here

TOP

Related Classes of org.jclouds.cloudwatch.domain.Alarm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.