Class PrometheusTempModify
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.PrometheusTempModify
-
public class PrometheusTempModify extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description PrometheusTempModify()
PrometheusTempModify(PrometheusTempModify 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 PrometheusAlertPolicyItem[]
getAlertDetailRules()
Get 修改内容,只有当模板类型是Alert时生效 注意:此字段可能返回 null,表示取不到有效值。String
getDescribe()
Get 修改描述 注意:此字段可能返回 null,表示取不到有效值。String
getName()
Get 修改名称PrometheusConfigItem[]
getPodMonitors()
Get 当Level为cluster时有效, 模板中的PodMonitors规则列表 注意:此字段可能返回 null,表示取不到有效值。PrometheusConfigItem[]
getRawJobs()
Get 当Level为cluster时有效, 模板中的RawJobs规则列表 注意:此字段可能返回 null,表示取不到有效值。PrometheusConfigItem[]
getRecordRules()
Get 当Level为instance时有效, 模板中的聚合规则列表 注意:此字段可能返回 null,表示取不到有效值。PrometheusConfigItem[]
getServiceMonitors()
Get 当Level为cluster时有效, 模板中的ServiceMonitor规则列表 注意:此字段可能返回 null,表示取不到有效值。void
setAlertDetailRules(PrometheusAlertPolicyItem[] AlertDetailRules)
Set 修改内容,只有当模板类型是Alert时生效 注意:此字段可能返回 null,表示取不到有效值。void
setDescribe(String Describe)
Set 修改描述 注意:此字段可能返回 null,表示取不到有效值。void
setName(String Name)
Set 修改名称void
setPodMonitors(PrometheusConfigItem[] PodMonitors)
Set 当Level为cluster时有效, 模板中的PodMonitors规则列表 注意:此字段可能返回 null,表示取不到有效值。void
setRawJobs(PrometheusConfigItem[] RawJobs)
Set 当Level为cluster时有效, 模板中的RawJobs规则列表 注意:此字段可能返回 null,表示取不到有效值。void
setRecordRules(PrometheusConfigItem[] RecordRules)
Set 当Level为instance时有效, 模板中的聚合规则列表 注意:此字段可能返回 null,表示取不到有效值。void
setServiceMonitors(PrometheusConfigItem[] ServiceMonitors)
Set 当Level为cluster时有效, 模板中的ServiceMonitor规则列表 注意:此字段可能返回 null,表示取不到有效值。void
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
-
PrometheusTempModify
public PrometheusTempModify()
-
PrometheusTempModify
public PrometheusTempModify(PrometheusTempModify 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
-
getName
public String getName()
Get 修改名称- Returns:
- Name 修改名称
-
setName
public void setName(String Name)
Set 修改名称- Parameters:
Name
- 修改名称
-
getDescribe
public String getDescribe()
Get 修改描述 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Describe 修改描述 注意:此字段可能返回 null,表示取不到有效值。
-
setDescribe
public void setDescribe(String Describe)
Set 修改描述 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Describe
- 修改描述 注意:此字段可能返回 null,表示取不到有效值。
-
getServiceMonitors
public PrometheusConfigItem[] getServiceMonitors()
Get 当Level为cluster时有效, 模板中的ServiceMonitor规则列表 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ServiceMonitors 当Level为cluster时有效, 模板中的ServiceMonitor规则列表 注意:此字段可能返回 null,表示取不到有效值。
-
setServiceMonitors
public void setServiceMonitors(PrometheusConfigItem[] ServiceMonitors)
Set 当Level为cluster时有效, 模板中的ServiceMonitor规则列表 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ServiceMonitors
- 当Level为cluster时有效, 模板中的ServiceMonitor规则列表 注意:此字段可能返回 null,表示取不到有效值。
-
getPodMonitors
public PrometheusConfigItem[] getPodMonitors()
Get 当Level为cluster时有效, 模板中的PodMonitors规则列表 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- PodMonitors 当Level为cluster时有效, 模板中的PodMonitors规则列表 注意:此字段可能返回 null,表示取不到有效值。
-
setPodMonitors
public void setPodMonitors(PrometheusConfigItem[] PodMonitors)
Set 当Level为cluster时有效, 模板中的PodMonitors规则列表 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
PodMonitors
- 当Level为cluster时有效, 模板中的PodMonitors规则列表 注意:此字段可能返回 null,表示取不到有效值。
-
getRawJobs
public PrometheusConfigItem[] getRawJobs()
Get 当Level为cluster时有效, 模板中的RawJobs规则列表 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- RawJobs 当Level为cluster时有效, 模板中的RawJobs规则列表 注意:此字段可能返回 null,表示取不到有效值。
-
setRawJobs
public void setRawJobs(PrometheusConfigItem[] RawJobs)
Set 当Level为cluster时有效, 模板中的RawJobs规则列表 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
RawJobs
- 当Level为cluster时有效, 模板中的RawJobs规则列表 注意:此字段可能返回 null,表示取不到有效值。
-
getRecordRules
public PrometheusConfigItem[] getRecordRules()
Get 当Level为instance时有效, 模板中的聚合规则列表 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- RecordRules 当Level为instance时有效, 模板中的聚合规则列表 注意:此字段可能返回 null,表示取不到有效值。
-
setRecordRules
public void setRecordRules(PrometheusConfigItem[] RecordRules)
Set 当Level为instance时有效, 模板中的聚合规则列表 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
RecordRules
- 当Level为instance时有效, 模板中的聚合规则列表 注意:此字段可能返回 null,表示取不到有效值。
-
getAlertDetailRules
public PrometheusAlertPolicyItem[] getAlertDetailRules()
Get 修改内容,只有当模板类型是Alert时生效 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AlertDetailRules 修改内容,只有当模板类型是Alert时生效 注意:此字段可能返回 null,表示取不到有效值。
-
setAlertDetailRules
public void setAlertDetailRules(PrometheusAlertPolicyItem[] AlertDetailRules)
Set 修改内容,只有当模板类型是Alert时生效 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AlertDetailRules
- 修改内容,只有当模板类型是Alert时生效 注意:此字段可能返回 null,表示取不到有效值。
-
-