public static final class DescribeApplicationScalingRulesResponseBody.ScaleDownRules.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribeApplicationScalingRulesResponseBody.ScaleDownRules |
build() |
DescribeApplicationScalingRulesResponseBody.ScaleDownRules.Builder |
disabled(Boolean disabled)
Indicates whether the application scale-in was disabled.
|
DescribeApplicationScalingRulesResponseBody.ScaleDownRules.Builder |
stabilizationWindowSeconds(Long stabilizationWindowSeconds)
The cooldown time of the scale-in.
|
DescribeApplicationScalingRulesResponseBody.ScaleDownRules.Builder |
step(Long step)
The step size for the scale-in.
|
public DescribeApplicationScalingRulesResponseBody.ScaleDownRules.Builder disabled(Boolean disabled)
* **true**: The application scale-in was disabled. * **false**: The application scale-in was enabled. > When this parameter is set to true, the application instances will never be reduced. This prevents risks to your business in peak hours. By default, this parameter is set to false.
public DescribeApplicationScalingRulesResponseBody.ScaleDownRules.Builder stabilizationWindowSeconds(Long stabilizationWindowSeconds)
public DescribeApplicationScalingRulesResponseBody.ScaleDownRules.Builder step(Long step)
public DescribeApplicationScalingRulesResponseBody.ScaleDownRules build()
Copyright © 2024. All rights reserved.