Package org.jclouds.cloudwatch.domain

Examples of org.jclouds.cloudwatch.domain.AlarmHistoryItem


   public IterableWithMarker<AlarmHistoryItem> expected() {
      Set<AlarmHistoryItem> alarmHistoryItems = Sets.newLinkedHashSet();

      for (int i = 1; i <= 2; i++) {
         alarmHistoryItems.add(new AlarmHistoryItem(
               "TestAlarmName" + i,
               "{\"reason\": \"" + i + "\"}",
               i == 1 ?
                     HistoryItemType.ACTION :
                     HistoryItemType.CONFIGURATION_UPDATE,
View Full Code Here


      currentText.append(ch, start, length);
   }

   @Override
   public AlarmHistoryItem getResult() {
      AlarmHistoryItem result = new AlarmHistoryItem(alarmName, historyData, historyItemType, historySummary,
                                                     timestamp);

      alarmName = null;
      historyData = null;
      historyItemType = null;
View Full Code Here

   public IterableWithMarker<AlarmHistoryItem> expected() {
      Set<AlarmHistoryItem> alarmHistoryItems = Sets.newLinkedHashSet();

      for (int i = 1; i <= 2; i++) {
         alarmHistoryItems.add(new AlarmHistoryItem(
               "TestAlarmName" + i,
               "{\"reason\": \"" + i + "\"}",
               i == 1 ?
                     HistoryItemType.ACTION :
                     HistoryItemType.CONFIGURATION_UPDATE,
View Full Code Here

      currentText.append(ch, start, length);
   }

   @Override
   public AlarmHistoryItem getResult() {
      AlarmHistoryItem result = new AlarmHistoryItem(alarmName, historyData, historyItemType, historySummary,
                                                     timestamp);

      alarmName = null;
      historyData = null;
      historyItemType = null;
View Full Code Here

      currentText.append(ch, start, length);
   }

   @Override
   public AlarmHistoryItem getResult() {
      AlarmHistoryItem result = new AlarmHistoryItem(alarmName, historyData, historyItemType, historySummary,
                                                     timestamp);

      alarmName = null;
      historyData = null;
      historyItemType = null;
View Full Code Here

      currentText.append(ch, start, length);
   }

   @Override
   public AlarmHistoryItem getResult() {
      AlarmHistoryItem result = new AlarmHistoryItem(alarmName, historyData, historyItemType, historySummary,
                                                     timestamp);

      alarmName = null;
      historyData = null;
      historyItemType = null;
View Full Code Here

   public IterableWithMarker<AlarmHistoryItem> expected() {
      Set<AlarmHistoryItem> alarmHistoryItems = Sets.newLinkedHashSet();

      for (int i = 1; i <= 2; i++) {
         alarmHistoryItems.add(new AlarmHistoryItem(
               "TestAlarmName" + i,
               "{\"reason\": \"" + i + "\"}",
               i == 1 ?
                     HistoryItemType.ACTION :
                     HistoryItemType.CONFIGURATION_UPDATE,
View Full Code Here

TOP

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

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.