public class DescribePolicyGroupInfoCondition extends AbstractModel
Constructor and Description |
---|
DescribePolicyGroupInfoCondition() |
DescribePolicyGroupInfoCondition(DescribePolicyGroupInfoCondition 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 converging type.
|
Long |
getCalcType()
Get Comparative type.
|
String |
getCalcValue()
Get Threshold.
|
Long |
getContinueTime()
Get Duration at which an alarm will be triggered in seconds.
|
Long |
getMetricId()
Get Metric ID.
|
String |
getMetricName()
Get Alarm metric name.
|
String |
getMetricShowName()
Get Metric name.
|
Long |
getPeriod()
Get Data aggregation period in seconds.
|
Long |
getRuleId()
Get Threshold rule ID.
|
String |
getUnit()
Get Metric unit.
|
void |
setAlarmNotifyPeriod(Long AlarmNotifyPeriod)
Set Alarm sending period in seconds.
|
void |
setAlarmNotifyType(Long AlarmNotifyType)
Set Alarm sending and converging type.
|
void |
setCalcType(Long CalcType)
Set Comparative type.
|
void |
setCalcValue(String CalcValue)
Set Threshold.
|
void |
setContinueTime(Long ContinueTime)
Set Duration at which an alarm will be triggered in seconds.
|
void |
setMetricId(Long MetricId)
Set Metric ID.
|
void |
setMetricName(String MetricName)
Set Alarm metric name.
|
void |
setMetricShowName(String MetricShowName)
Set Metric name.
|
void |
setPeriod(Long Period)
Set Data aggregation period in seconds.
|
void |
setRuleId(Long RuleId)
Set Threshold rule ID.
|
void |
setUnit(String Unit)
Set Metric unit.
|
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 DescribePolicyGroupInfoCondition()
public DescribePolicyGroupInfoCondition(DescribePolicyGroupInfoCondition source)
public String getMetricShowName()
public void setMetricShowName(String MetricShowName)
MetricShowName
- Metric name.public Long getPeriod()
public void setPeriod(Long Period)
Period
- Data aggregation period in seconds.public Long getMetricId()
public void setMetricId(Long MetricId)
MetricId
- Metric ID.public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId
- Threshold rule ID.public String getUnit()
public void setUnit(String Unit)
Unit
- Metric unit.public Long getAlarmNotifyType()
public void setAlarmNotifyType(Long AlarmNotifyType)
AlarmNotifyType
- Alarm sending and converging 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 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. The value 7 indicates day-on-day increase. The value 8 indicates day-on-day decrease. The value 9 indicates week-on-week increase. The value 10 indicates week-on-week decrease. The value 11 indicates periodical increase. The value 12 indicates periodical decrease.public String getCalcValue()
public void setCalcValue(String CalcValue)
CalcValue
- Threshold.public Long getContinueTime()
public void setContinueTime(Long ContinueTime)
ContinueTime
- Duration at which an alarm will be triggered in seconds.public String getMetricName()
public void setMetricName(String MetricName)
MetricName
- Alarm metric name.Copyright © 2023. All rights reserved.