Class DescribePolicyGroupInfoCondition
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.DescribePolicyGroupInfoCondition
-
public class DescribePolicyGroupInfoCondition extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetAlarmNotifyPeriod()Get 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次LonggetAlarmNotifyType()Get 告警发送收敛类型。0连续告警,1指数告警LonggetCalcType()Get 比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等,7表示日同比上涨,8表示日同比下降,9表示周同比上涨,10表示周同比下降,11表示周期环比上涨,12表示周期环比下降 注意:此字段可能返回 null,表示取不到有效值。StringgetCalcValue()Get 检测阈值 注意:此字段可能返回 null,表示取不到有效值。LonggetContinueTime()Get 持续多长时间触发规则会告警(单位秒) 注意:此字段可能返回 null,表示取不到有效值。LonggetMetricId()Get 指标idStringgetMetricName()Get 告警指标名 注意:此字段可能返回 null,表示取不到有效值。StringgetMetricShowName()Get 指标名称LonggetPeriod()Get 数据聚合周期(单位秒)LonggetRuleId()Get 阈值规则idStringgetUnit()Get 指标单位voidsetAlarmNotifyPeriod(Long AlarmNotifyPeriod)Set 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次voidsetAlarmNotifyType(Long AlarmNotifyType)Set 告警发送收敛类型。0连续告警,1指数告警voidsetCalcType(Long CalcType)Set 比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等,7表示日同比上涨,8表示日同比下降,9表示周同比上涨,10表示周同比下降,11表示周期环比上涨,12表示周期环比下降 注意:此字段可能返回 null,表示取不到有效值。voidsetCalcValue(String CalcValue)Set 检测阈值 注意:此字段可能返回 null,表示取不到有效值。voidsetContinueTime(Long ContinueTime)Set 持续多长时间触发规则会告警(单位秒) 注意:此字段可能返回 null,表示取不到有效值。voidsetMetricId(Long MetricId)Set 指标idvoidsetMetricName(String MetricName)Set 告警指标名 注意:此字段可能返回 null,表示取不到有效值。voidsetMetricShowName(String MetricShowName)Set 指标名称voidsetPeriod(Long Period)Set 数据聚合周期(单位秒)voidsetRuleId(Long RuleId)Set 阈值规则idvoidsetUnit(String Unit)Set 指标单位voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DescribePolicyGroupInfoCondition
public DescribePolicyGroupInfoCondition()
-
DescribePolicyGroupInfoCondition
public 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.
-
-
Method Detail
-
getMetricShowName
public String getMetricShowName()
Get 指标名称- Returns:
- MetricShowName 指标名称
-
setMetricShowName
public void setMetricShowName(String MetricShowName)
Set 指标名称- Parameters:
MetricShowName- 指标名称
-
getPeriod
public Long getPeriod()
Get 数据聚合周期(单位秒)- Returns:
- Period 数据聚合周期(单位秒)
-
setPeriod
public void setPeriod(Long Period)
Set 数据聚合周期(单位秒)- Parameters:
Period- 数据聚合周期(单位秒)
-
getMetricId
public Long getMetricId()
Get 指标id- Returns:
- MetricId 指标id
-
setMetricId
public void setMetricId(Long MetricId)
Set 指标id- Parameters:
MetricId- 指标id
-
getRuleId
public Long getRuleId()
Get 阈值规则id- Returns:
- RuleId 阈值规则id
-
setRuleId
public void setRuleId(Long RuleId)
Set 阈值规则id- Parameters:
RuleId- 阈值规则id
-
getUnit
public String getUnit()
Get 指标单位- Returns:
- Unit 指标单位
-
setUnit
public void setUnit(String Unit)
Set 指标单位- Parameters:
Unit- 指标单位
-
getAlarmNotifyType
public Long getAlarmNotifyType()
Get 告警发送收敛类型。0连续告警,1指数告警- Returns:
- AlarmNotifyType 告警发送收敛类型。0连续告警,1指数告警
-
setAlarmNotifyType
public void setAlarmNotifyType(Long AlarmNotifyType)
Set 告警发送收敛类型。0连续告警,1指数告警- Parameters:
AlarmNotifyType- 告警发送收敛类型。0连续告警,1指数告警
-
getAlarmNotifyPeriod
public Long getAlarmNotifyPeriod()
Get 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次- Returns:
- AlarmNotifyPeriod 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次
-
setAlarmNotifyPeriod
public void setAlarmNotifyPeriod(Long AlarmNotifyPeriod)
Set 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次- Parameters:
AlarmNotifyPeriod- 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次
-
getCalcType
public Long getCalcType()
Get 比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等,7表示日同比上涨,8表示日同比下降,9表示周同比上涨,10表示周同比下降,11表示周期环比上涨,12表示周期环比下降 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CalcType 比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等,7表示日同比上涨,8表示日同比下降,9表示周同比上涨,10表示周同比下降,11表示周期环比上涨,12表示周期环比下降 注意:此字段可能返回 null,表示取不到有效值。
-
setCalcType
public void setCalcType(Long CalcType)
Set 比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等,7表示日同比上涨,8表示日同比下降,9表示周同比上涨,10表示周同比下降,11表示周期环比上涨,12表示周期环比下降 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CalcType- 比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等,7表示日同比上涨,8表示日同比下降,9表示周同比上涨,10表示周同比下降,11表示周期环比上涨,12表示周期环比下降 注意:此字段可能返回 null,表示取不到有效值。
-
getCalcValue
public String getCalcValue()
Get 检测阈值 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CalcValue 检测阈值 注意:此字段可能返回 null,表示取不到有效值。
-
setCalcValue
public void setCalcValue(String CalcValue)
Set 检测阈值 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CalcValue- 检测阈值 注意:此字段可能返回 null,表示取不到有效值。
-
getContinueTime
public Long getContinueTime()
Get 持续多长时间触发规则会告警(单位秒) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ContinueTime 持续多长时间触发规则会告警(单位秒) 注意:此字段可能返回 null,表示取不到有效值。
-
setContinueTime
public void setContinueTime(Long ContinueTime)
Set 持续多长时间触发规则会告警(单位秒) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ContinueTime- 持续多长时间触发规则会告警(单位秒) 注意:此字段可能返回 null,表示取不到有效值。
-
getMetricName
public String getMetricName()
Get 告警指标名 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MetricName 告警指标名 注意:此字段可能返回 null,表示取不到有效值。
-
setMetricName
public void setMetricName(String MetricName)
Set 告警指标名 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MetricName- 告警指标名 注意:此字段可能返回 null,表示取不到有效值。
-
-