Class ModifyPrometheusAlertRuleRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tke.v20180525.models.ModifyPrometheusAlertRuleRequest
-
public class ModifyPrometheusAlertRuleRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyPrometheusAlertRuleRequest()
ModifyPrometheusAlertRuleRequest(ModifyPrometheusAlertRuleRequest 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 PrometheusAlertRuleDetail
getAlertRule()
Get 告警配置String
getInstanceId()
Get 实例idvoid
setAlertRule(PrometheusAlertRuleDetail AlertRule)
Set 告警配置void
setInstanceId(String InstanceId)
Set 实例idvoid
toMap(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
-
ModifyPrometheusAlertRuleRequest
public ModifyPrometheusAlertRuleRequest()
-
ModifyPrometheusAlertRuleRequest
public ModifyPrometheusAlertRuleRequest(ModifyPrometheusAlertRuleRequest 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 实例id- Returns:
- InstanceId 实例id
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 实例id- Parameters:
InstanceId
- 实例id
-
getAlertRule
public PrometheusAlertRuleDetail getAlertRule()
Get 告警配置- Returns:
- AlertRule 告警配置
-
setAlertRule
public void setAlertRule(PrometheusAlertRuleDetail AlertRule)
Set 告警配置- Parameters:
AlertRule
- 告警配置
-
-