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 Alarm notification frequency.
|
Long |
getAlarmNotifyType()
Get Predefined repeated notification policy.
|
String |
getCalcType()
Get Detection method.
|
String |
getCalcValue()
Get Detection value.
|
String |
getContinueTime()
Get Duration in seconds.
|
Long |
getIsAdvanced()
Get Whether it is an advanced metric.
|
Long |
getIsOpen()
Get Whether the advance metric feature is enabled.
|
String |
getMetricDisplayName()
Get Displayed metric name.
|
Long |
getMetricID()
Get Metric ID.
|
Long |
getPeriod()
Get Statistical period.
|
String |
getProductId()
Get Product ID.
|
Long |
getRuleID()
Get Rule ID.
|
String |
getUnit()
Get Metric unit.
|
void |
setAlarmNotifyPeriod(Long AlarmNotifyPeriod)
Set Alarm notification frequency.
|
void |
setAlarmNotifyType(Long AlarmNotifyType)
Set Predefined repeated notification policy.
|
void |
setCalcType(String CalcType)
Set Detection method.
|
void |
setCalcValue(String CalcValue)
Set Detection value.
|
void |
setContinueTime(String ContinueTime)
Set Duration in seconds.
|
void |
setIsAdvanced(Long IsAdvanced)
Set Whether it is an advanced metric.
|
void |
setIsOpen(Long IsOpen)
Set Whether the advance metric feature is enabled.
|
void |
setMetricDisplayName(String MetricDisplayName)
Set Displayed metric name.
|
void |
setMetricID(Long MetricID)
Set Metric ID.
|
void |
setPeriod(Long Period)
Set Statistical period.
|
void |
setProductId(String ProductId)
Set Product ID.
|
void |
setRuleID(Long RuleID)
Set 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 Condition()
public Condition(Condition source)
public Long getAlarmNotifyPeriod()
public void setAlarmNotifyPeriod(Long AlarmNotifyPeriod)
AlarmNotifyPeriod
- Alarm notification frequency.public Long getAlarmNotifyType()
public void setAlarmNotifyType(Long AlarmNotifyType)
AlarmNotifyType
- Predefined repeated notification policy. `0`: One-time alarm; `1`: exponential alarm; `2`: consecutive alarm.public String getCalcType()
public void setCalcType(String CalcType)
CalcType
- Detection method.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getCalcValue()
public void setCalcValue(String CalcValue)
CalcValue
- Detection value.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getContinueTime()
public void setContinueTime(String ContinueTime)
ContinueTime
- Duration in seconds.
Note: This field may return null, indicating that no valid values can be obtained.public Long getMetricID()
public void setMetricID(Long MetricID)
MetricID
- Metric ID.public String getMetricDisplayName()
public void setMetricDisplayName(String MetricDisplayName)
MetricDisplayName
- Displayed metric name.public Long getPeriod()
public void setPeriod(Long Period)
Period
- Statistical period.public Long getRuleID()
public void setRuleID(Long RuleID)
RuleID
- Rule ID.public String getUnit()
public void setUnit(String Unit)
Unit
- Metric unit.public Long getIsAdvanced()
public void setIsAdvanced(Long IsAdvanced)
IsAdvanced
- Whether it is an advanced metric. Valid values: `0` (no), `1` (yes).public Long getIsOpen()
public void setIsOpen(Long IsOpen)
IsOpen
- Whether the advance metric feature is enabled. Valid values: `0` (no), `1` (yes).public String getProductId()
public void setProductId(String ProductId)
ProductId
- Product ID.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.