public static class AutoScalePolicyMetricRule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AutoScalePolicyMetricRule |
build() |
AutoScalePolicyMetricRule.Builder |
copy(AutoScalePolicyMetricRule model) |
AutoScalePolicyMetricRule.Builder |
metricType(AutoScalePolicyMetricRule.MetricType metricType)
Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
|
AutoScalePolicyMetricRule.Builder |
threshold(MetricThresholdRule threshold) |
public AutoScalePolicyMetricRule.Builder metricType(AutoScalePolicyMetricRule.MetricType metricType)
Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
metricType
- the value to setpublic AutoScalePolicyMetricRule.Builder threshold(MetricThresholdRule threshold)
public AutoScalePolicyMetricRule build()
public AutoScalePolicyMetricRule.Builder copy(AutoScalePolicyMetricRule model)
Copyright © 2016–2024. All rights reserved.