public static interface ScaleRule.ParentUpdateDefinitionStages.WithStatistic
Modifier and Type | Method and Description |
---|---|
ScaleRule.ParentUpdateDefinitionStages.WithCondition |
withStatistic()
Sets statistics for autoscale trigger action with default values of 10 minutes for duration, 1 minute for frequency(time grain) and 'Average' for statistic type.
|
ScaleRule.ParentUpdateDefinitionStages.WithCondition |
withStatistic(org.joda.time.Period duration)
Sets statistics for autoscale trigger action with default values of 1 minute for frequency(time grain) and 'Average' for statistic type.
|
ScaleRule.ParentUpdateDefinitionStages.WithCondition |
withStatistic(org.joda.time.Period duration,
MetricStatisticType statisticType)
Sets statistics for autoscale trigger action with default values of 1 minute for frequency(time grain).
|
ScaleRule.ParentUpdateDefinitionStages.WithCondition |
withStatistic(org.joda.time.Period duration,
org.joda.time.Period frequency,
MetricStatisticType statisticType)
Sets statistics for autoscale trigger action.
|
ScaleRule.ParentUpdateDefinitionStages.WithCondition withStatistic(org.joda.time.Period duration, org.joda.time.Period frequency, MetricStatisticType statisticType)
duration
- the range of time in which instance data is collected. This value must be greater than the delay in metric collection, which can vary from resource-to-resource. Must be between 12 hours and 5 minutes.frequency
- the granularity of metrics the rule monitors. Must be one of the predefined values returned from metric definitions for the metric. Must be between 12 hours and 1 minute.statisticType
- the metric statistic type. How the metrics from multiple instances are combined. Possible values include: 'Average', 'Min', 'Max', 'Sum'.ScaleRule.ParentUpdateDefinitionStages.WithCondition withStatistic()
ScaleRule.ParentUpdateDefinitionStages.WithCondition withStatistic(org.joda.time.Period duration)
duration
- the range of time in which instance data is collected. This value must be greater than the delay in metric collection, which can vary from resource-to-resource. Must be between 12 hours and 5 minutes.ScaleRule.ParentUpdateDefinitionStages.WithCondition withStatistic(org.joda.time.Period duration, MetricStatisticType statisticType)
duration
- the range of time in which instance data is collected. This value must be greater than the delay in metric collection, which can vary from resource-to-resource. Must be between 12 hours and 5 minutes.statisticType
- the metric statistic type. How the metrics from multiple instances are combined. Possible values include: 'Average', 'Min', 'Max', 'Sum'.Copyright © 2019. All rights reserved.