public static final class DescribeScalingRulesRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeScalingRulesRequest |
build() |
DescribeScalingRulesRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
DescribeScalingRulesRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
DescribeScalingRulesRequest.Builder |
pageNumber(Integer pageNumber)
The number of the page to return.
|
DescribeScalingRulesRequest.Builder |
pageSize(Integer pageSize)
The number of entries to return on each page.
|
DescribeScalingRulesRequest.Builder |
regionId(String regionId)
The region ID of the scaling group to which the scaling rules that you want to query belong.
|
DescribeScalingRulesRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
DescribeScalingRulesRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
DescribeScalingRulesRequest.Builder |
scalingGroupId(String scalingGroupId)
The ID of the scaling group.
|
DescribeScalingRulesRequest.Builder |
scalingRuleAris(List<String> scalingRuleAris)
The unique identifiers of the scaling rules that you want to query.
|
DescribeScalingRulesRequest.Builder |
scalingRuleIds(List<String> scalingRuleIds)
The IDs of the scaling rules that you want to query.
|
DescribeScalingRulesRequest.Builder |
scalingRuleNames(List<String> scalingRuleNames)
The names of the scaling rules that you want to query.
|
DescribeScalingRulesRequest.Builder |
scalingRuleType(String scalingRuleType)
The type of the scaling rule.
|
DescribeScalingRulesRequest.Builder |
showAlarmRules(Boolean showAlarmRules)
Specifies whether to return CloudMonitor event-triggered tasks associated with scaling rules.
|
public DescribeScalingRulesRequest.Builder ownerAccount(String ownerAccount)
public DescribeScalingRulesRequest.Builder ownerId(Long ownerId)
public DescribeScalingRulesRequest.Builder pageNumber(Integer pageNumber)
Default value: 1.
public DescribeScalingRulesRequest.Builder pageSize(Integer pageSize)
Default value: 10.
public DescribeScalingRulesRequest.Builder regionId(String regionId)
public DescribeScalingRulesRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public DescribeScalingRulesRequest.Builder resourceOwnerId(Long resourceOwnerId)
public DescribeScalingRulesRequest.Builder scalingGroupId(String scalingGroupId)
public DescribeScalingRulesRequest.Builder scalingRuleAris(List<String> scalingRuleAris)
public DescribeScalingRulesRequest.Builder scalingRuleIds(List<String> scalingRuleIds)
public DescribeScalingRulesRequest.Builder scalingRuleNames(List<String> scalingRuleNames)
public DescribeScalingRulesRequest.Builder scalingRuleType(String scalingRuleType)
* SimpleScalingRule: adjusts the number of ECS instances based on the values of the AdjustmentType and AdjustmentValue parameters. * TargetTrackingScalingRule: calculates the number of ECS instances that need to be scaled in a dynamic manner and maintains the value of a predefined metric close to the value of the TargetValue parameter. * StepScalingRule: scales ECS instances in steps based on the specified thresholds and metric values. * PredictiveScalingRule: uses machine learning to analyze historical monitoring data of the scaling group and predicts the future values of metrics. In addition, Auto Scaling automatically creates scheduled tasks to adjust the boundary values for the scaling group.
public DescribeScalingRulesRequest.Builder showAlarmRules(Boolean showAlarmRules)
* true * false Default value: false.
public DescribeScalingRulesRequest build()
Copyright © 2024. All rights reserved.