public class ModifyScalingPolicyRequest extends AbstractModel
| Constructor and Description |
|---|
ModifyScalingPolicyRequest() |
| 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 |
getAutoScalingPolicyId()
Get Alarm policy 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 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 |
setAutoScalingPolicyId(String AutoScalingPolicyId)
Set Alarm policy 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 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 String getAutoScalingPolicyId()
public void setAutoScalingPolicyId(String AutoScalingPolicyId)
AutoScalingPolicyId - Alarm policy ID.public String getScalingPolicyName()
public void setScalingPolicyName(String ScalingPolicyName)
ScalingPolicyName - Alarm 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 Long getCooldown()
public void setCooldown(Long Cooldown)
Cooldown - Cooldown period in seconds.public MetricAlarm getMetricAlarm()
public void setMetricAlarm(MetricAlarm MetricAlarm)
MetricAlarm - Alarm monitoring metric.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://cloud.tencent.com/document/product/598/34589) API.
If you want to clear the user group, you need to pass in the specific string "NULL" to the list.Copyright © 2020. All rights reserved.