public class PrometheusAlertGroupSet extends AbstractModel
header, skipSign
Constructor and Description |
---|
PrometheusAlertGroupSet() |
PrometheusAlertGroupSet(PrometheusAlertGroupSet 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[] |
getAMPReceivers()
Get Alert template ID of tencent cloud observability platform (tcop).
|
String |
getCreatedAt()
Get Group creation time
Note: This field may return null, indicating that no valid values can be obtained.
|
PrometheusAlertCustomReceiver |
getCustomReceiver()
Get Custom Alert template.
|
String |
getGroupId()
Get Alert group ID.
|
String |
getGroupName()
Get Alert group name.
|
String |
getRepeatInterval()
Get Alert notification interval.
|
PrometheusAlertGroupRuleSet[] |
getRules()
Get Alert rule details within the group.
|
String |
getTemplateId()
Get If the Alert group is created via template, returns the template ID.
|
String |
getUpdatedAt()
Get Group update time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setAMPReceivers(String[] AMPReceivers)
Set Alert template ID of tencent cloud observability platform (tcop).
|
void |
setCreatedAt(String CreatedAt)
Set Group creation time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCustomReceiver(PrometheusAlertCustomReceiver CustomReceiver)
Set Custom Alert template.
|
void |
setGroupId(String GroupId)
Set Alert group ID.
|
void |
setGroupName(String GroupName)
Set Alert group name.
|
void |
setRepeatInterval(String RepeatInterval)
Set Alert notification interval.
|
void |
setRules(PrometheusAlertGroupRuleSet[] Rules)
Set Alert rule details within the group.
|
void |
setTemplateId(String TemplateId)
Set If the Alert group is created via template, returns the template ID.
|
void |
setUpdatedAt(String UpdatedAt)
Set Group update time
Note: This field may return null, indicating that no valid values can be obtained.
|
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, toJsonString
public PrometheusAlertGroupSet()
public PrometheusAlertGroupSet(PrometheusAlertGroupSet source)
public String getGroupId()
public void setGroupId(String GroupId)
GroupId
- Alert group ID. must match the regular expression `alert-[a-z0-9]{8}`.
Note: This field may return null, indicating that no valid values can be obtained.public String getGroupName()
public void setGroupName(String GroupName)
GroupName
- Alert group name.
Note: This field may return null, indicating that no valid values can be obtained.public String[] getAMPReceivers()
public void setAMPReceivers(String[] AMPReceivers)
AMPReceivers
- Alert template ID of tencent cloud observability platform (tcop). returns the converted notice ID of the Alert template.
Note: This field may return null, indicating that no valid values can be obtained.public PrometheusAlertCustomReceiver getCustomReceiver()
public void setCustomReceiver(PrometheusAlertCustomReceiver CustomReceiver)
CustomReceiver
- Custom Alert template.
Note: This field may return null, indicating that no valid values can be obtained.public String getRepeatInterval()
public void setRepeatInterval(String RepeatInterval)
RepeatInterval
- Alert notification interval.
Note: This field may return null, indicating that no valid values can be obtained.public String getTemplateId()
public void setTemplateId(String TemplateId)
TemplateId
- If the Alert group is created via template, returns the template ID.
Note: This field may return null, indicating that no valid values can be obtained.public PrometheusAlertGroupRuleSet[] getRules()
public void setRules(PrometheusAlertGroupRuleSet[] Rules)
Rules
- Alert rule details within the group.
Note: This field may return null, indicating that no valid values can be obtained.public String getCreatedAt()
public void setCreatedAt(String CreatedAt)
CreatedAt
- Group creation time
Note: This field may return null, indicating that no valid values can be obtained.public String getUpdatedAt()
public void setUpdatedAt(String UpdatedAt)
UpdatedAt
- Group update time
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.