public static final class ExecuteScalingRuleRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ExecuteScalingRuleRequest.Builder |
breachThreshold(Float breachThreshold)
The threshold specified when the step scaling rule is executed.
|
ExecuteScalingRuleRequest |
build() |
ExecuteScalingRuleRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
ExecuteScalingRuleRequest.Builder |
metricValue(Float metricValue)
The metric value specified when the step scaling rule is executed.
|
ExecuteScalingRuleRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
ExecuteScalingRuleRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
ExecuteScalingRuleRequest.Builder |
regionId(String regionId)
The region ID of the scaling group.
|
ExecuteScalingRuleRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
ExecuteScalingRuleRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
ExecuteScalingRuleRequest.Builder |
scalingRuleAri(String scalingRuleAri)
The unique identifier of the scaling rule.
|
public ExecuteScalingRuleRequest.Builder breachThreshold(Float breachThreshold)
public ExecuteScalingRuleRequest.Builder clientToken(String clientToken)
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [Ensure idempotence](~~25965~~).
public ExecuteScalingRuleRequest.Builder metricValue(Float metricValue)
public ExecuteScalingRuleRequest.Builder ownerAccount(String ownerAccount)
public ExecuteScalingRuleRequest.Builder ownerId(Long ownerId)
public ExecuteScalingRuleRequest.Builder regionId(String regionId)
public ExecuteScalingRuleRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ExecuteScalingRuleRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ExecuteScalingRuleRequest.Builder scalingRuleAri(String scalingRuleAri)
> You can call this operation to execute simple scaling rules and step scaling rules. If you want to call this operation to execute a step scaling rule, you must specify `BreachThreshold` and `MetricValue`.
public ExecuteScalingRuleRequest build()
Copyright © 2024. All rights reserved.