public static class AutoScalePolicyRule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AutoScalePolicyRule.Builder |
action(AutoScalePolicyRule.Action action)
The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN.
|
AutoScalePolicyRule |
build() |
AutoScalePolicyRule.Builder |
copy(AutoScalePolicyRule model) |
AutoScalePolicyRule.Builder |
metric(AutoScalePolicyMetricRule metric) |
public AutoScalePolicyRule.Builder action(AutoScalePolicyRule.Action action)
The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN.
action
- the value to setpublic AutoScalePolicyRule.Builder metric(AutoScalePolicyMetricRule metric)
public AutoScalePolicyRule build()
public AutoScalePolicyRule.Builder copy(AutoScalePolicyRule model)
Copyright © 2016–2024. All rights reserved.