Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class MetricTrigger {
/**
* time aggregation type. How the data that is collected should be combined
* over time. The default value is Average. Possible values include:
* 'Average', 'Minimum', 'Maximum', 'Total', 'Count'.
* 'Average', 'Minimum', 'Maximum', 'Total', 'Count', 'Last'.
*/
@JsonProperty(value = "timeAggregation", required = true)
private TimeAggregationType timeAggregation;
Expand Down Expand Up @@ -173,7 +173,7 @@ public MetricTrigger withTimeWindow(Period timeWindow) {
}

/**
* Get time aggregation type. How the data that is collected should be combined over time. The default value is Average. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Count'.
* Get time aggregation type. How the data that is collected should be combined over time. The default value is Average. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Count', 'Last'.
*
* @return the timeAggregation value
*/
Expand All @@ -182,7 +182,7 @@ public TimeAggregationType timeAggregation() {
}

/**
* Set time aggregation type. How the data that is collected should be combined over time. The default value is Average. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Count'.
* Set time aggregation type. How the data that is collected should be combined over time. The default value is Average. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Count', 'Last'.
*
* @param timeAggregation the timeAggregation value to set
* @return the MetricTrigger object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ public enum TimeAggregationType {
TOTAL("Total"),

/** Enum value Count. */
COUNT("Count");
COUNT("Count"),

/** Enum value Last. */
LAST("Last");

/** The actual serialized value for a TimeAggregationType instance. */
private String value;
Expand Down