public class CreateAlertChannelRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateAlertChannelRequest() |
CreateAlertChannelRequest(CreateAlertChannelRequest 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 |
getAMPConsumerId()
Get The AMPConsumerId of alarm notification template for monitor service, can be obtained from the AMPConsumerId field in the response of the DescribeAlarmNotices API of the monitor service's cloud API.
|
String |
getNoticeId()
Get The NoticeId of alarm notification template in the monitor service, can be obtained from the Id field in the response of the DescribeAlarmNotices API of the monitor service's cloud API.
|
String |
getProjectId()
Get Project ID.
|
void |
setAMPConsumerId(String AMPConsumerId)
Set The AMPConsumerId of alarm notification template for monitor service, can be obtained from the AMPConsumerId field in the response of the DescribeAlarmNotices API of the monitor service's cloud API.
|
void |
setNoticeId(String NoticeId)
Set The NoticeId of alarm notification template in the monitor service, can be obtained from the Id field in the response of the DescribeAlarmNotices API of the monitor service's cloud API.
|
void |
setProjectId(String ProjectId)
Set Project ID.
|
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 CreateAlertChannelRequest()
public CreateAlertChannelRequest(CreateAlertChannelRequest source)
public String getNoticeId()
public void setNoticeId(String NoticeId)
NoticeId
- The NoticeId of alarm notification template in the monitor service, can be obtained from the Id field in the response of the DescribeAlarmNotices API of the monitor service's cloud API. (In the input parameters of the CreateAlertChannel API, either AMPConsumerId or NoticeId can be used to identify an alarm notification template.)public String getProjectId()
public void setProjectId(String ProjectId)
ProjectId
- Project ID.public String getAMPConsumerId()
public void setAMPConsumerId(String AMPConsumerId)
AMPConsumerId
- The AMPConsumerId of alarm notification template for monitor service, can be obtained from the AMPConsumerId field in the response of the DescribeAlarmNotices API of the monitor service's cloud API. (In the input parameters of the CreateAlertChannel API, either AMPConsumerId or Noticeid can be used to identify an alarm notification template.)Copyright © 2025. All rights reserved.