Class DescribePrometheusAlertPolicyResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.DescribePrometheusAlertPolicyResponse
-
public class DescribePrometheusAlertPolicyResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribePrometheusAlertPolicyResponse()
DescribePrometheusAlertPolicyResponse(DescribePrometheusAlertPolicyResponse 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[]
getAlertRules()
Get 告警详情 注意:此字段可能返回 null,表示取不到有效值。String
getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。Long
getTotal()
Get 总数void
setAlertRules(PrometheusAlertPolicyItem[] AlertRules)
Set 告警详情 注意:此字段可能返回 null,表示取不到有效值。void
setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。void
setTotal(Long Total)
Set 总数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
-
DescribePrometheusAlertPolicyResponse
public DescribePrometheusAlertPolicyResponse()
-
DescribePrometheusAlertPolicyResponse
public DescribePrometheusAlertPolicyResponse(DescribePrometheusAlertPolicyResponse 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
-
getAlertRules
public PrometheusAlertPolicyItem[] getAlertRules()
Get 告警详情 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AlertRules 告警详情 注意:此字段可能返回 null,表示取不到有效值。
-
setAlertRules
public void setAlertRules(PrometheusAlertPolicyItem[] AlertRules)
Set 告警详情 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AlertRules
- 告警详情 注意:此字段可能返回 null,表示取不到有效值。
-
getTotal
public Long getTotal()
Get 总数- Returns:
- Total 总数
-
setTotal
public void setTotal(Long Total)
Set 总数- Parameters:
Total
- 总数
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId
- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-