Class CreateNotificationConfigurationRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.as.v20180419.models.CreateNotificationConfigurationRequest
-
public class CreateNotificationConfigurationRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAutoScalingGroupId()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)查询。StringgetQueueName()Get CMQ 队列名称,如 TargetType 取值为 `CMQ_QUEUE` 或 `TDMQ_CMQ_QUEUE` 时,该字段必填。StringgetTargetType()Get 通知接收端类型,取值如下
USER_GROUP:用户组
CMQ_QUEUE:CMQ 队列
CMQ_TOPIC:CMQ 主题
TDMQ_CMQ_TOPIC:TDMQ CMQ 主题
TDMQ_CMQ_QUEUE:TDMQ CMQ 队列 默认值为:`USER_GROUP`。StringgetTopicName()Get CMQ 主题名称,如 TargetType 取值为 `CMQ_TOPIC` 或 `TDMQ_CMQ_TOPIC` 时,该字段必填。voidsetAutoScalingGroupId(String AutoScalingGroupId)Set 伸缩组ID。voidsetNotificationTypes(String[] NotificationTypes)Set 通知类型,即为需要订阅的通知类型集合,取值范围如下: SCALE_OUT_SUCCESSFUL:扩容成功 SCALE_OUT_FAILED:扩容失败 SCALE_IN_SUCCESSFUL:缩容成功 SCALE_IN_FAILED:缩容失败 REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功 REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败voidsetNotificationUserGroupIds(String[] NotificationUserGroupIds)Set 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。voidsetQueueName(String QueueName)Set CMQ 队列名称,如 TargetType 取值为 `CMQ_QUEUE` 或 `TDMQ_CMQ_QUEUE` 时,该字段必填。voidsetTargetType(String TargetType)Set 通知接收端类型,取值如下
USER_GROUP:用户组
CMQ_QUEUE:CMQ 队列
CMQ_TOPIC:CMQ 主题
TDMQ_CMQ_TOPIC:TDMQ CMQ 主题
TDMQ_CMQ_QUEUE:TDMQ CMQ 队列 默认值为:`USER_GROUP`。voidsetTopicName(String TopicName)Set CMQ 主题名称,如 TargetType 取值为 `CMQ_TOPIC` 或 `TDMQ_CMQ_TOPIC` 时,该字段必填。voidtoMap(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
-
CreateNotificationConfigurationRequest
public CreateNotificationConfigurationRequest()
-
CreateNotificationConfigurationRequest
public 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.
-
-
Method Detail
-
getAutoScalingGroupId
public String getAutoScalingGroupId()
Get 伸缩组ID。- Returns:
- AutoScalingGroupId 伸缩组ID。
-
setAutoScalingGroupId
public void setAutoScalingGroupId(String AutoScalingGroupId)
Set 伸缩组ID。- Parameters:
AutoScalingGroupId- 伸缩组ID。
-
getNotificationTypes
public String[] getNotificationTypes()
Get 通知类型,即为需要订阅的通知类型集合,取值范围如下:- SCALE_OUT_SUCCESSFUL:扩容成功
- SCALE_OUT_FAILED:扩容失败
- SCALE_IN_SUCCESSFUL:缩容成功
- SCALE_IN_FAILED:缩容失败
- REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功
- REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败
- Returns:
- NotificationTypes 通知类型,即为需要订阅的通知类型集合,取值范围如下:
- SCALE_OUT_SUCCESSFUL:扩容成功
- SCALE_OUT_FAILED:扩容失败
- SCALE_IN_SUCCESSFUL:缩容成功
- SCALE_IN_FAILED:缩容失败
- REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功
- REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败
-
setNotificationTypes
public 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:替换不健康子机失败
- Parameters:
NotificationTypes- 通知类型,即为需要订阅的通知类型集合,取值范围如下:- SCALE_OUT_SUCCESSFUL:扩容成功
- SCALE_OUT_FAILED:扩容失败
- SCALE_IN_SUCCESSFUL:缩容成功
- SCALE_IN_FAILED:缩容失败
- REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功
- REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败
-
getNotificationUserGroupIds
public String[] getNotificationUserGroupIds()
Get 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。- Returns:
- NotificationUserGroupIds 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。
-
setNotificationUserGroupIds
public void setNotificationUserGroupIds(String[] NotificationUserGroupIds)
Set 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。- Parameters:
NotificationUserGroupIds- 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。
-
getTargetType
public String getTargetType()
Get 通知接收端类型,取值如下- USER_GROUP:用户组
- CMQ_QUEUE:CMQ 队列
- CMQ_TOPIC:CMQ 主题
- TDMQ_CMQ_TOPIC:TDMQ CMQ 主题
- TDMQ_CMQ_QUEUE:TDMQ CMQ 队列 默认值为:`USER_GROUP`。
- Returns:
- TargetType 通知接收端类型,取值如下
- USER_GROUP:用户组
- CMQ_QUEUE:CMQ 队列
- CMQ_TOPIC:CMQ 主题
- TDMQ_CMQ_TOPIC:TDMQ CMQ 主题
- TDMQ_CMQ_QUEUE:TDMQ CMQ 队列 默认值为:`USER_GROUP`。
- USER_GROUP:用户组
- USER_GROUP:用户组
-
setTargetType
public 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`。
- Parameters:
TargetType- 通知接收端类型,取值如下- USER_GROUP:用户组
- CMQ_QUEUE:CMQ 队列
- CMQ_TOPIC:CMQ 主题
- TDMQ_CMQ_TOPIC:TDMQ CMQ 主题
- TDMQ_CMQ_QUEUE:TDMQ CMQ 队列 默认值为:`USER_GROUP`。
- USER_GROUP:用户组
- USER_GROUP:用户组
-
getQueueName
public String getQueueName()
Get CMQ 队列名称,如 TargetType 取值为 `CMQ_QUEUE` 或 `TDMQ_CMQ_QUEUE` 时,该字段必填。- Returns:
- QueueName CMQ 队列名称,如 TargetType 取值为 `CMQ_QUEUE` 或 `TDMQ_CMQ_QUEUE` 时,该字段必填。
-
setQueueName
public void setQueueName(String QueueName)
Set CMQ 队列名称,如 TargetType 取值为 `CMQ_QUEUE` 或 `TDMQ_CMQ_QUEUE` 时,该字段必填。- Parameters:
QueueName- CMQ 队列名称,如 TargetType 取值为 `CMQ_QUEUE` 或 `TDMQ_CMQ_QUEUE` 时,该字段必填。
-
getTopicName
public String getTopicName()
Get CMQ 主题名称,如 TargetType 取值为 `CMQ_TOPIC` 或 `TDMQ_CMQ_TOPIC` 时,该字段必填。- Returns:
- TopicName CMQ 主题名称,如 TargetType 取值为 `CMQ_TOPIC` 或 `TDMQ_CMQ_TOPIC` 时,该字段必填。
-
setTopicName
public void setTopicName(String TopicName)
Set CMQ 主题名称,如 TargetType 取值为 `CMQ_TOPIC` 或 `TDMQ_CMQ_TOPIC` 时,该字段必填。- Parameters:
TopicName- CMQ 主题名称,如 TargetType 取值为 `CMQ_TOPIC` 或 `TDMQ_CMQ_TOPIC` 时,该字段必填。
-
-