public class PrometheusAlertCustomReceiver extends AbstractModel
header, skipSign
Constructor and Description |
---|
PrometheusAlertCustomReceiver() |
PrometheusAlertCustomReceiver(PrometheusAlertCustomReceiver 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 |
---|---|
PrometheusAlertAllowTimeRange[] |
getAllowedTimeRanges()
Get Specifies the time range for allowing Alert sending.
|
String |
getClusterId()
Get alertmanager intranet cluster ID.
|
String |
getClusterType()
Get alertmanager resides in the private network cluster type (tke/eks/tdcc).
|
String |
getType()
Get Notification customization type.
|
String |
getUrl()
Get alertmanager/webhook url (ip in the same vpc as the prometheus instance).
|
void |
setAllowedTimeRanges(PrometheusAlertAllowTimeRange[] AllowedTimeRanges)
Set Specifies the time range for allowing Alert sending.
|
void |
setClusterId(String ClusterId)
Set alertmanager intranet cluster ID.
|
void |
setClusterType(String ClusterType)
Set alertmanager resides in the private network cluster type (tke/eks/tdcc).
|
void |
setType(String Type)
Set Notification customization type.
|
void |
setUrl(String Url)
Set alertmanager/webhook url (ip in the same vpc as the prometheus instance).
|
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 PrometheusAlertCustomReceiver()
public PrometheusAlertCustomReceiver(PrometheusAlertCustomReceiver source)
public String getType()
public void setType(String Type)
Type
- Notification customization type.
Alertmanager - self-built alertmanager in vpc.
webhook - webhook address in the vpc.
Note: This field may return null, indicating that no valid values can be obtained.public String getUrl()
public void setUrl(String Url)
Url
- alertmanager/webhook url (ip in the same vpc as the prometheus instance).
Note: This field may return null, indicating that no valid values can be obtained.public PrometheusAlertAllowTimeRange[] getAllowedTimeRanges()
public void setAllowedTimeRanges(PrometheusAlertAllowTimeRange[] AllowedTimeRanges)
AllowedTimeRanges
- Specifies the time range for allowing Alert sending.
Note: This field may return null, indicating that no valid values can be obtained.public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- alertmanager intranet cluster ID.
Note: This field may return null, indicating that no valid values can be obtained.public String getClusterType()
public void setClusterType(String ClusterType)
ClusterType
- alertmanager resides in the private network cluster type (tke/eks/tdcc).
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.