public class Condition extends AbstractModel
Constructor and Description |
---|
Condition() |
Condition(Condition 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 告警通知频率
|
Long |
getAlarmNotifyType()
Get 重复通知策略预定义(0 - 只告警一次, 1 - 指数告警,2 - 连接告警)
|
String |
getCalcType()
Get 检测方式
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getCalcValue()
Get 检测值
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getContinueTime()
Get 持续时间,单位秒
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getIsAdvanced()
Get 是否为高级指标,0:否;1:是
|
Long |
getIsOpen()
Get 是否开通高级指标,0:否;1:是
|
String |
getMetricDisplayName()
Get 指标展示名称(对外)
|
Long |
getMetricID()
Get 指标ID
|
Long |
getPeriod()
Get 周期
|
String |
getProductId()
Get 产品ID
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getRuleID()
Get 规则ID
|
String |
getUnit()
Get 指标单位
|
void |
setAlarmNotifyPeriod(Long AlarmNotifyPeriod)
Set 告警通知频率
|
void |
setAlarmNotifyType(Long AlarmNotifyType)
Set 重复通知策略预定义(0 - 只告警一次, 1 - 指数告警,2 - 连接告警)
|
void |
setCalcType(String CalcType)
Set 检测方式
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCalcValue(String CalcValue)
Set 检测值
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setContinueTime(String ContinueTime)
Set 持续时间,单位秒
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setIsAdvanced(Long IsAdvanced)
Set 是否为高级指标,0:否;1:是
|
void |
setIsOpen(Long IsOpen)
Set 是否开通高级指标,0:否;1:是
|
void |
setMetricDisplayName(String MetricDisplayName)
Set 指标展示名称(对外)
|
void |
setMetricID(Long MetricID)
Set 指标ID
|
void |
setPeriod(Long Period)
Set 周期
|
void |
setProductId(String ProductId)
Set 产品ID
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRuleID(Long RuleID)
Set 规则ID
|
void |
setUnit(String Unit)
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 Condition()
public Condition(Condition source)
public Long getAlarmNotifyPeriod()
public void setAlarmNotifyPeriod(Long AlarmNotifyPeriod)
AlarmNotifyPeriod
- 告警通知频率public Long getAlarmNotifyType()
public void setAlarmNotifyType(Long AlarmNotifyType)
AlarmNotifyType
- 重复通知策略预定义(0 - 只告警一次, 1 - 指数告警,2 - 连接告警)public String getCalcType()
public void setCalcType(String CalcType)
CalcType
- 检测方式
注意:此字段可能返回 null,表示取不到有效值。public String getCalcValue()
public void setCalcValue(String CalcValue)
CalcValue
- 检测值
注意:此字段可能返回 null,表示取不到有效值。public String getContinueTime()
public void setContinueTime(String ContinueTime)
ContinueTime
- 持续时间,单位秒
注意:此字段可能返回 null,表示取不到有效值。public Long getMetricID()
public void setMetricID(Long MetricID)
MetricID
- 指标IDpublic String getMetricDisplayName()
public void setMetricDisplayName(String MetricDisplayName)
MetricDisplayName
- 指标展示名称(对外)public Long getPeriod()
public void setPeriod(Long Period)
Period
- 周期public Long getRuleID()
public void setRuleID(Long RuleID)
RuleID
- 规则IDpublic String getUnit()
public void setUnit(String Unit)
Unit
- 指标单位public Long getIsAdvanced()
public void setIsAdvanced(Long IsAdvanced)
IsAdvanced
- 是否为高级指标,0:否;1:是public Long getIsOpen()
public void setIsOpen(Long IsOpen)
IsOpen
- 是否开通高级指标,0:否;1:是public String getProductId()
public void setProductId(String ProductId)
ProductId
- 产品ID
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.