public class ExecuteScalingPolicyRequest extends AbstractModel
Constructor and Description |
---|
ExecuteScalingPolicyRequest() |
ExecuteScalingPolicyRequest(ExecuteScalingPolicyRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAutoScalingPolicyId()
Get Auto-scaling policy ID.
|
Boolean |
getHonorCooldown()
Get Whether to check if the auto scaling group is in the cooldown period.
|
String |
getTriggerSource()
Get Source that triggers the scaling policy.
|
void |
setAutoScalingPolicyId(String AutoScalingPolicyId)
Set Auto-scaling policy ID.
|
void |
setHonorCooldown(Boolean HonorCooldown)
Set Whether to check if the auto scaling group is in the cooldown period.
|
void |
setTriggerSource(String TriggerSource)
Set Source that triggers the scaling policy.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ExecuteScalingPolicyRequest()
public ExecuteScalingPolicyRequest(ExecuteScalingPolicyRequest source)
public String getAutoScalingPolicyId()
public void setAutoScalingPolicyId(String AutoScalingPolicyId)
AutoScalingPolicyId
- Auto-scaling policy ID. This parameter is not available to a target tracking policy.public Boolean getHonorCooldown()
public void setHonorCooldown(Boolean HonorCooldown)
HonorCooldown
- Whether to check if the auto scaling group is in the cooldown period. Default value: falsepublic String getTriggerSource()
public void setTriggerSource(String TriggerSource)
TriggerSource
- Source that triggers the scaling policy. Valid values: API and CLOUD_MONITOR. Default value: API. The value `CLOUD_MONITOR` is specific to the Cloud Monitor service.Copyright © 2023. All rights reserved.