public class CreateScalingPolicyRequest extends AbstractModel
| Constructor and Description | 
|---|
| CreateScalingPolicyRequest() | 
| CreateScalingPolicyRequest(CreateScalingPolicyRequest 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 | getAdjustmentType()Get The method to adjust the desired number of instances after the alarm is triggered. | 
| Long | getAdjustmentValue()Get The adjusted value of desired number of instances after the alarm is triggered. | 
| String | getAutoScalingGroupId()Get Auto scaling group ID. | 
| Long | getCooldown()Get Cooldown period in seconds. | 
| MetricAlarm | getMetricAlarm()Get Alarm monitoring metric. | 
| String[] | getNotificationUserGroupIds()Get Notification group ID, which is the set of user group IDs. | 
| String | getScalingPolicyName()Get Alarm trigger policy name. | 
| void | setAdjustmentType(String AdjustmentType)Set The method to adjust the desired number of instances after the alarm is triggered. | 
| void | setAdjustmentValue(Long AdjustmentValue)Set The adjusted value of desired number of instances after the alarm is triggered. | 
| void | setAutoScalingGroupId(String AutoScalingGroupId)Set Auto scaling group ID. | 
| void | setCooldown(Long Cooldown)Set Cooldown period in seconds. | 
| void | setMetricAlarm(MetricAlarm MetricAlarm)Set Alarm monitoring metric. | 
| void | setNotificationUserGroupIds(String[] NotificationUserGroupIds)Set Notification group ID, which is the set of user group IDs. | 
| void | setScalingPolicyName(String ScalingPolicyName)Set Alarm trigger policy name. | 
| 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, toJsonStringpublic CreateScalingPolicyRequest()
public CreateScalingPolicyRequest(CreateScalingPolicyRequest source)
public String getAutoScalingGroupId()
public void setAutoScalingGroupId(String AutoScalingGroupId)
AutoScalingGroupId - Auto scaling group ID.public String getScalingPolicyName()
public void setScalingPolicyName(String ScalingPolicyName)
ScalingPolicyName - Alarm trigger policy name.public String getAdjustmentType()
public void setAdjustmentType(String AdjustmentType)
AdjustmentType - The method to adjust the desired number of instances after the alarm is triggered. Value range: public Long getAdjustmentValue()
public void setAdjustmentValue(Long AdjustmentValue)
AdjustmentValue - The adjusted value of desired number of instances after the alarm is triggered. Value range: public MetricAlarm getMetricAlarm()
public void setMetricAlarm(MetricAlarm MetricAlarm)
MetricAlarm - Alarm monitoring metric.public Long getCooldown()
public void setCooldown(Long Cooldown)
Cooldown - Cooldown period in seconds. Default value: 300 seconds.public String[] getNotificationUserGroupIds()
public void setNotificationUserGroupIds(String[] NotificationUserGroupIds)
NotificationUserGroupIds - Notification group ID, which is the set of user group IDs. You can query the user group IDs through the [ListGroups](https://intl.cloud.tencent.com/document/product/598/34589?from_cn_redirect=1) API.Copyright © 2021. All rights reserved.