public class UpdateRecordingRuleRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| UpdateRecordingRuleRequest() | 
| UpdateRecordingRuleRequest(UpdateRecordingRuleRequest 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 | getGroup()Get 聚合规则组内容,格式为 yaml,通过 base64 进行编码。 | 
| String | getInstanceId()Get Prometheus 实例 ID(可通过 DescribePrometheusInstances 接口获取) | 
| String | getName()Get 聚合规则名称 | 
| String | getRuleId()Get Prometheus 聚合规则 ID(可通过 DescribeRecordingRules 接口获取) | 
| Long | getRuleState()Get 规则状态码,取值如下:
1=RuleDeleted
2=RuleEnabled
3=RuleDisabled
默认状态码为 2 启用。 | 
| void | setGroup(String Group)Set 聚合规则组内容,格式为 yaml,通过 base64 进行编码。 | 
| void | setInstanceId(String InstanceId)Set Prometheus 实例 ID(可通过 DescribePrometheusInstances 接口获取) | 
| void | setName(String Name)Set 聚合规则名称 | 
| void | setRuleId(String RuleId)Set Prometheus 聚合规则 ID(可通过 DescribeRecordingRules 接口获取) | 
| void | setRuleState(Long RuleState)Set 规则状态码,取值如下:
1=RuleDeleted
2=RuleEnabled
3=RuleDisabled
默认状态码为 2 启用。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic UpdateRecordingRuleRequest()
public UpdateRecordingRuleRequest(UpdateRecordingRuleRequest source)
public String getName()
public void setName(String Name)
Name - 聚合规则名称public String getGroup()
public void setGroup(String Group)
Group - 聚合规则组内容,格式为 yaml,通过 base64 进行编码。public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Prometheus 实例 ID(可通过 DescribePrometheusInstances 接口获取)public String getRuleId()
public void setRuleId(String RuleId)
RuleId - Prometheus 聚合规则 ID(可通过 DescribeRecordingRules 接口获取)public Long getRuleState()
public void setRuleState(Long RuleState)
RuleState - 规则状态码,取值如下:
Copyright © 2025. All rights reserved.