Class DescribeAlertRulesRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.DescribeAlertRulesRequest
-
public class DescribeAlertRulesRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeAlertRulesRequest()DescribeAlertRulesRequest(DescribeAlertRulesRequest 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 StringgetInstanceId()Get Prometheus 实例 IDLonggetLimit()Get 返回数量,默认为 20,最大值为 100LonggetOffset()Get 偏移量,默认为 0StringgetRuleId()Get 规则 IDStringgetRuleName()Get 规则名称LonggetRuleState()Get 规则状态码,取值如下: 2=RuleEnabled 3=RuleDisabledStringgetType()Get 报警策略模板分类voidsetInstanceId(String InstanceId)Set Prometheus 实例 IDvoidsetLimit(Long Limit)Set 返回数量,默认为 20,最大值为 100voidsetOffset(Long Offset)Set 偏移量,默认为 0voidsetRuleId(String RuleId)Set 规则 IDvoidsetRuleName(String RuleName)Set 规则名称voidsetRuleState(Long RuleState)Set 规则状态码,取值如下: 2=RuleEnabled 3=RuleDisabledvoidsetType(String Type)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
-
DescribeAlertRulesRequest
public DescribeAlertRulesRequest()
-
DescribeAlertRulesRequest
public DescribeAlertRulesRequest(DescribeAlertRulesRequest 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
-
getInstanceId
public String getInstanceId()
Get Prometheus 实例 ID- Returns:
- InstanceId Prometheus 实例 ID
-
setInstanceId
public void setInstanceId(String InstanceId)
Set Prometheus 实例 ID- Parameters:
InstanceId- Prometheus 实例 ID
-
getLimit
public Long getLimit()
Get 返回数量,默认为 20,最大值为 100- Returns:
- Limit 返回数量,默认为 20,最大值为 100
-
setLimit
public void setLimit(Long Limit)
Set 返回数量,默认为 20,最大值为 100- Parameters:
Limit- 返回数量,默认为 20,最大值为 100
-
getOffset
public Long getOffset()
Get 偏移量,默认为 0- Returns:
- Offset 偏移量,默认为 0
-
setOffset
public void setOffset(Long Offset)
Set 偏移量,默认为 0- Parameters:
Offset- 偏移量,默认为 0
-
getRuleId
public String getRuleId()
Get 规则 ID- Returns:
- RuleId 规则 ID
-
setRuleId
public void setRuleId(String RuleId)
Set 规则 ID- Parameters:
RuleId- 规则 ID
-
getRuleState
public Long getRuleState()
Get 规则状态码,取值如下:- 2=RuleEnabled
- 3=RuleDisabled
- Returns:
- RuleState 规则状态码,取值如下:
- 2=RuleEnabled
- 3=RuleDisabled
-
setRuleState
public void setRuleState(Long RuleState)
Set 规则状态码,取值如下:- 2=RuleEnabled
- 3=RuleDisabled
- Parameters:
RuleState- 规则状态码,取值如下:- 2=RuleEnabled
- 3=RuleDisabled
-
getRuleName
public String getRuleName()
Get 规则名称- Returns:
- RuleName 规则名称
-
setRuleName
public void setRuleName(String RuleName)
Set 规则名称- Parameters:
RuleName- 规则名称
-
getType
public String getType()
Get 报警策略模板分类- Returns:
- Type 报警策略模板分类
-
setType
public void setType(String Type)
Set 报警策略模板分类- Parameters:
Type- 报警策略模板分类
-
-