public class ScalingPolicy extends AbstractModel
Constructor and Description |
---|
ScalingPolicy() |
Modifier and Type | Method and Description |
---|---|
String |
getAdjustmentType()
Get 告警触发后,期望实例数修改方式。取值 :
CHANGE_IN_CAPACITY:增加或减少若干期望实例数EXACT_CAPACITY:调整至指定期望实例数 PERCENT_CHANGE_IN_CAPACITY:按百分比调整期望实例数 |
Long |
getAdjustmentValue()
Get 告警触发后,期望实例数的调整值。
|
String |
getAutoScalingGroupId()
Get 伸缩组ID。
|
String |
getAutoScalingPolicyId()
Get 告警触发策略ID。
|
Long |
getCooldown()
Get 冷却时间。
|
MetricAlarm |
getMetricAlarm()
Get 告警监控指标。
|
String[] |
getNotificationUserGroupIds()
Get 通知组ID,即为用户组ID集合。
|
String |
getScalingPolicyName()
Get 告警触发策略名称。
|
void |
setAdjustmentType(String AdjustmentType)
Set 告警触发后,期望实例数修改方式。取值 :
CHANGE_IN_CAPACITY:增加或减少若干期望实例数EXACT_CAPACITY:调整至指定期望实例数 PERCENT_CHANGE_IN_CAPACITY:按百分比调整期望实例数 |
void |
setAdjustmentValue(Long AdjustmentValue)
Set 告警触发后,期望实例数的调整值。
|
void |
setAutoScalingGroupId(String AutoScalingGroupId)
Set 伸缩组ID。
|
void |
setAutoScalingPolicyId(String AutoScalingPolicyId)
Set 告警触发策略ID。
|
void |
setCooldown(Long Cooldown)
Set 冷却时间。
|
void |
setMetricAlarm(MetricAlarm MetricAlarm)
Set 告警监控指标。
|
void |
setNotificationUserGroupIds(String[] NotificationUserGroupIds)
Set 通知组ID,即为用户组ID集合。
|
void |
setScalingPolicyName(String ScalingPolicyName)
Set 告警触发策略名称。
|
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 String getAutoScalingGroupId()
public void setAutoScalingGroupId(String AutoScalingGroupId)
AutoScalingGroupId
- 伸缩组ID。public String getAutoScalingPolicyId()
public void setAutoScalingPolicyId(String AutoScalingPolicyId)
AutoScalingPolicyId
- 告警触发策略ID。public String getScalingPolicyName()
public void setScalingPolicyName(String ScalingPolicyName)
ScalingPolicyName
- 告警触发策略名称。public String getAdjustmentType()
public void setAdjustmentType(String AdjustmentType)
AdjustmentType
- 告警触发后,期望实例数修改方式。取值 :public Long getAdjustmentValue()
public void setAdjustmentValue(Long AdjustmentValue)
AdjustmentValue
- 告警触发后,期望实例数的调整值。public Long getCooldown()
public void setCooldown(Long Cooldown)
Cooldown
- 冷却时间。public MetricAlarm getMetricAlarm()
public void setMetricAlarm(MetricAlarm MetricAlarm)
MetricAlarm
- 告警监控指标。public String[] getNotificationUserGroupIds()
public void setNotificationUserGroupIds(String[] NotificationUserGroupIds)
NotificationUserGroupIds
- 通知组ID,即为用户组ID集合。Copyright © 2020. All rights reserved.