public class ModifyPolicyGroupCondition extends AbstractModel
Constructor and Description |
---|
ModifyPolicyGroupCondition() |
ModifyPolicyGroupCondition(ModifyPolicyGroupCondition 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 |
---|---|
Long |
getAlarmNotifyPeriod()
Get Alarm sending period in seconds.
|
Long |
getAlarmNotifyType()
Get Alarm sending and convergence type.
|
Long |
getCalcPeriod()
Get Data period of the detected metric.
|
Long |
getCalcType()
Get Comparative type.
|
String |
getCalcValue()
Get Threshold.
|
Long |
getContinuePeriod()
Get Number of consecutive periods.
|
Long |
getMetricId()
Get Metric ID.
|
Long |
getRuleId()
Get Rule ID.
|
void |
setAlarmNotifyPeriod(Long AlarmNotifyPeriod)
Set Alarm sending period in seconds.
|
void |
setAlarmNotifyType(Long AlarmNotifyType)
Set Alarm sending and convergence type.
|
void |
setCalcPeriod(Long CalcPeriod)
Set Data period of the detected metric.
|
void |
setCalcType(Long CalcType)
Set Comparative type.
|
void |
setCalcValue(String CalcValue)
Set Threshold.
|
void |
setContinuePeriod(Long ContinuePeriod)
Set Number of consecutive periods.
|
void |
setMetricId(Long MetricId)
Set Metric ID.
|
void |
setRuleId(Long RuleId)
Set Rule ID.
|
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 ModifyPolicyGroupCondition()
public ModifyPolicyGroupCondition(ModifyPolicyGroupCondition source)
public Long getMetricId()
public void setMetricId(Long MetricId)
MetricId
- Metric ID.public Long getCalcType()
public void setCalcType(Long CalcType)
CalcType
- Comparative type. The value 1 indicates greater than. The value 2 indicates greater than or equal to. The value 3 indicates smaller than. The value 4 indicates smaller than or equal to. The value 5 indicates equal to. The value 6 indicates not equal to.public String getCalcValue()
public void setCalcValue(String CalcValue)
CalcValue
- Threshold.public Long getCalcPeriod()
public void setCalcPeriod(Long CalcPeriod)
CalcPeriod
- Data period of the detected metric.public Long getContinuePeriod()
public void setContinuePeriod(Long ContinuePeriod)
ContinuePeriod
- Number of consecutive periods.public Long getAlarmNotifyType()
public void setAlarmNotifyType(Long AlarmNotifyType)
AlarmNotifyType
- Alarm sending and convergence type. The value 0 indicates that alarms are sent consecutively. The value 1 indicates that alarms are sent exponentially.public Long getAlarmNotifyPeriod()
public void setAlarmNotifyPeriod(Long AlarmNotifyPeriod)
AlarmNotifyPeriod
- Alarm sending period in seconds. If the value is less than 0, no alarm will be triggered. If the value is 0, an alarm will be triggered only once. If the value is greater than 0, an alarm will be triggered at the interval of triggerTime.public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId
- Rule ID. No filling means new addition while filling in ruleId means to modify existing rules.Copyright © 2023. All rights reserved.