MetricTrigger |
MetricTrigger.withDimensions(List<ScaleRuleMetricDimension> dimensions) |
Set the dimensions property: List of dimension conditions.
|
MetricTrigger |
MetricTrigger.withDividePerInstance(Boolean dividePerInstance) |
Set the dividePerInstance property: a value indicating whether metric should divide per instance.
|
MetricTrigger |
MetricTrigger.withMetricName(String metricName) |
Set the metricName property: the name of the metric that defines what the rule monitors.
|
MetricTrigger |
MetricTrigger.withMetricNamespace(String metricNamespace) |
Set the metricNamespace property: the namespace of the metric that defines what the rule monitors.
|
MetricTrigger |
MetricTrigger.withMetricResourceLocation(String metricResourceLocation) |
Set the metricResourceLocation property: the location of the resource the rule monitors.
|
MetricTrigger |
MetricTrigger.withMetricResourceUri(String metricResourceUri) |
Set the metricResourceUri property: the resource identifier of the resource the rule monitors.
|
MetricTrigger |
MetricTrigger.withOperator(ComparisonOperationType operator) |
Set the operator property: the operator that is used to compare the metric data and the threshold.
|
MetricTrigger |
MetricTrigger.withStatistic(MetricStatisticType statistic) |
Set the statistic property: the metric statistic type.
|
MetricTrigger |
MetricTrigger.withThreshold(double threshold) |
Set the threshold property: the threshold of the metric that triggers the scale action.
|
MetricTrigger |
MetricTrigger.withTimeAggregation(TimeAggregationType timeAggregation) |
Set the timeAggregation property: time aggregation type.
|
MetricTrigger |
MetricTrigger.withTimeGrain(Duration timeGrain) |
Set the timeGrain property: the granularity of metrics the rule monitors.
|
MetricTrigger |
MetricTrigger.withTimeWindow(Duration timeWindow) |
Set the timeWindow property: the range of time in which instance data is collected.
|