public class CreateNotificationConfigurationRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateNotificationConfigurationRequest() |
CreateNotificationConfigurationRequest(CreateNotificationConfigurationRequest 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 |
getAutoScalingGroupId()
Get 伸缩组ID。
|
String[] |
getNotificationTypes()
Get 通知类型,即为需要订阅的通知类型集合,取值范围如下:
SCALE_OUT_SUCCESSFUL:扩容成功
SCALE_OUT_FAILED:扩容失败
SCALE_IN_SUCCESSFUL:缩容成功
SCALE_IN_FAILED:缩容失败
REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功
REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败
|
String[] |
getNotificationUserGroupIds()
Get 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。
|
String |
getQueueName()
Get CMQ 队列名称,如 TargetType 取值为 `CMQ_QUEUE` 或 `TDMQ_CMQ_QUEUE` 时,该字段必填。
|
String |
getTargetType()
Get 通知接收端类型,取值如下
USER_GROUP:用户组 CMQ_QUEUE:CMQ 队列 CMQ_TOPIC:CMQ 主题 TDMQ_CMQ_TOPIC:TDMQ CMQ 主题 TDMQ_CMQ_QUEUE:TDMQ CMQ 队列 默认值为:`USER_GROUP`。 |
String |
getTopicName()
Get CMQ 主题名称,如 TargetType 取值为 `CMQ_TOPIC` 或 `TDMQ_CMQ_TOPIC` 时,该字段必填。
|
void |
setAutoScalingGroupId(String AutoScalingGroupId)
Set 伸缩组ID。
|
void |
setNotificationTypes(String[] NotificationTypes)
Set 通知类型,即为需要订阅的通知类型集合,取值范围如下:
SCALE_OUT_SUCCESSFUL:扩容成功
SCALE_OUT_FAILED:扩容失败
SCALE_IN_SUCCESSFUL:缩容成功
SCALE_IN_FAILED:缩容失败
REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功
REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败
|
void |
setNotificationUserGroupIds(String[] NotificationUserGroupIds)
Set 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。
|
void |
setQueueName(String QueueName)
Set CMQ 队列名称,如 TargetType 取值为 `CMQ_QUEUE` 或 `TDMQ_CMQ_QUEUE` 时,该字段必填。
|
void |
setTargetType(String TargetType)
Set 通知接收端类型,取值如下
USER_GROUP:用户组 CMQ_QUEUE:CMQ 队列 CMQ_TOPIC:CMQ 主题 TDMQ_CMQ_TOPIC:TDMQ CMQ 主题 TDMQ_CMQ_QUEUE:TDMQ CMQ 队列 默认值为:`USER_GROUP`。 |
void |
setTopicName(String TopicName)
Set CMQ 主题名称,如 TargetType 取值为 `CMQ_TOPIC` 或 `TDMQ_CMQ_TOPIC` 时,该字段必填。
|
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 CreateNotificationConfigurationRequest()
public CreateNotificationConfigurationRequest(CreateNotificationConfigurationRequest source)
public String getAutoScalingGroupId()
public void setAutoScalingGroupId(String AutoScalingGroupId)
AutoScalingGroupId
- 伸缩组ID。public String[] getNotificationTypes()
public void setNotificationTypes(String[] NotificationTypes)
NotificationTypes
- 通知类型,即为需要订阅的通知类型集合,取值范围如下:
public String[] getNotificationUserGroupIds()
public void setNotificationUserGroupIds(String[] NotificationUserGroupIds)
NotificationUserGroupIds
- 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。public String getTargetType()
public void setTargetType(String TargetType)
TargetType
- 通知接收端类型,取值如下
public String getQueueName()
public void setQueueName(String QueueName)
QueueName
- CMQ 队列名称,如 TargetType 取值为 `CMQ_QUEUE` 或 `TDMQ_CMQ_QUEUE` 时,该字段必填。public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- CMQ 主题名称,如 TargetType 取值为 `CMQ_TOPIC` 或 `TDMQ_CMQ_TOPIC` 时,该字段必填。Copyright © 2024. All rights reserved.