public class DescribeAlertRulesRequest extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getInstanceId()
Get Prometheus 实例 ID
|
Long |
getLimit()
Get 返回数量,默认为 20,最大值为 100
|
Long |
getOffset()
Get 偏移量,默认为 0
|
String |
getRuleId()
Get 规则 ID
|
String |
getRuleName()
Get 规则名称
|
Long |
getRuleState()
Get 规则状态码,取值如下:
2=RuleEnabled
3=RuleDisabled
|
String |
getType()
Get 报警策略模板分类
|
void |
setInstanceId(String InstanceId)
Set Prometheus 实例 ID
|
void |
setLimit(Long Limit)
Set 返回数量,默认为 20,最大值为 100
|
void |
setOffset(Long Offset)
Set 偏移量,默认为 0
|
void |
setRuleId(String RuleId)
Set 规则 ID
|
void |
setRuleName(String RuleName)
Set 规则名称
|
void |
setRuleState(Long RuleState)
Set 规则状态码,取值如下:
2=RuleEnabled
3=RuleDisabled
|
void |
setType(String Type)
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 DescribeAlertRulesRequest()
public DescribeAlertRulesRequest(DescribeAlertRulesRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Prometheus 实例 IDpublic Long getLimit()
public void setLimit(Long Limit)
Limit
- 返回数量,默认为 20,最大值为 100public Long getOffset()
public void setOffset(Long Offset)
Offset
- 偏移量,默认为 0public String getRuleId()
public void setRuleId(String RuleId)
RuleId
- 规则 IDpublic Long getRuleState()
public void setRuleState(Long RuleState)
RuleState
- 规则状态码,取值如下:
public String getRuleName()
public void setRuleName(String RuleName)
RuleName
- 规则名称public String getType()
public void setType(String Type)
Type
- 报警策略模板分类Copyright © 2021. All rights reserved.