@Override public AlarmHistoryItem getResult() { AlarmHistoryItem result = new AlarmHistoryItem(alarmName, historyData, historyItemType, historySummary, timestamp); alarmName = null; historyData = null; historyItemType = null; historySummary = null; timestamp = null; return result; }
public Datapoint getResult() { Datapoint datapoint = new Datapoint(average, maximum, minimum, timestamp, samples, sum, unit, customUnit); this.average = null; this.maximum = null; this.minimum = null; this.timestamp = null; this.samples = null; this.sum = null; this.unit = null; this.customUnit = null; return datapoint; }
/** * Returns a new builder. The generated builder is equivalent to the builder created by the * {@link Builder} constructor. */ public static Builder builder() { return new Builder(); }
/** * {@inheritDoc} */ @Override public Dimension getResult() { Dimension dimension = new Dimension(name, value); // Reset since this handler is created once but produces N results name = null; value = null; return dimension; }
/** * Returns a newly-created {@code GetMetricStatisticsOptionsV2} based on the contents of * the {@code Builder}. */ public GetMetricStatistics build() { return new GetMetricStatistics(dimensions, endTime, metricName,namespace, period, startTime, statistics, unit); }
/** * Returns a new builder. The generated builder is equivalent to the builder * created by the {@link Builder} constructor. */ public static Builder builder() { return new Builder(); }
/** * Returns a newly-created {@code StatisticSet} based on the contents of the {@code Builder}. */ public StatisticValues build() { return new StatisticValues(maximum, minimum, sampleCount, sum); }
/** * Returns a new builder. The generated builder is equivalent to the builder * created by the {@link Builder} constructor. */ public static Builder builder() { return new Builder(); }
/** * {@inheritDoc} */ @Override public Dimension getResult() { Dimension dimension = new Dimension(name, value); // Reset since this handler is created once but produces N results name = null; value = null; return dimension; }
@Override public AlarmHistoryItem getResult() { AlarmHistoryItem result = new AlarmHistoryItem(alarmName, historyData, historyItemType, historySummary, timestamp); alarmName = null; historyData = null; historyItemType = null; historySummary = null; timestamp = null; return result; }
/** * Returns a newly-created {@code GetMetricStatisticsOptionsV2} based on the contents of * the {@code Builder}. */ public GetMetricStatistics build() { return new GetMetricStatistics(dimensions, endTime, metricName, namespace, period, startTime, statistics, unit); }
/** * Returns a new builder. The generated builder is equivalent to the builder created by the * {@link Builder} constructor. */ public static Builder builder() { return new Builder(); }
/** * Returns a new builder. The generated builder is equivalent to the builder * created by the {@link Builder} constructor. */ public static Builder builder() { return new Builder(); }
/** * Returns a newly-created {@code StatisticSet} based on the contents of the {@code Builder}. */ public StatisticValues build() { return new StatisticValues(maximum, minimum, sampleCount, sum); }
/** * {@inheritDoc} */ @Override public Dimension getResult() { Dimension dimension = new Dimension(name, value); // Reset since this handler is created once but produces N results name = null; value = null; return dimension; }
/** * Returns a newly-created {@code GetMetricStatisticsOptionsV2} based on the contents of * the {@code Builder}. */ public GetMetricStatistics build() { return new GetMetricStatistics(dimensions, endTime, metricName,namespace, period, startTime, statistics, unit); }
/** * {@inheritDoc} */ @Override public Dimension getResult() { Dimension dimension = new Dimension(name, value); // Reset since this handler is created once but produces N results name = null; value = null; return dimension; }
/** * Returns a newly-created {@code GetMetricStatisticsOptionsV2} based on the contents of * the {@code Builder}. */ public GetMetricStatistics build() { return new GetMetricStatistics(dimensions, endTime, metricName, namespace, period, startTime, statistics, unit); }