public class NotificationTarget extends AbstractModel
Constructor and Description |
---|
NotificationTarget() |
NotificationTarget(NotificationTarget 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 |
getQueueName()
Get 队列名称,如果`TargetType`取值为`CMQ_QUEUE`,则本字段必填。
|
String |
getTargetType()
Get 目标类型,取值范围包括`CMQ_QUEUE`、`CMQ_TOPIC`。
CMQ_QUEUE,指腾讯云消息队列-队列模型。
CMQ_TOPIC,指腾讯云消息队列-主题模型。
|
String |
getTopicName()
Get 主题名称,如果`TargetType`取值为`CMQ_TOPIC`,则本字段必填。
|
void |
setQueueName(String QueueName)
Set 队列名称,如果`TargetType`取值为`CMQ_QUEUE`,则本字段必填。
|
void |
setTargetType(String TargetType)
Set 目标类型,取值范围包括`CMQ_QUEUE`、`CMQ_TOPIC`。
CMQ_QUEUE,指腾讯云消息队列-队列模型。
CMQ_TOPIC,指腾讯云消息队列-主题模型。
|
void |
setTopicName(String TopicName)
Set 主题名称,如果`TargetType`取值为`CMQ_TOPIC`,则本字段必填。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public NotificationTarget()
public NotificationTarget(NotificationTarget source)
public String getTargetType()
public void setTargetType(String TargetType)
TargetType
- 目标类型,取值范围包括`CMQ_QUEUE`、`CMQ_TOPIC`。
public String getQueueName()
public void setQueueName(String QueueName)
QueueName
- 队列名称,如果`TargetType`取值为`CMQ_QUEUE`,则本字段必填。public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- 主题名称,如果`TargetType`取值为`CMQ_TOPIC`,则本字段必填。Copyright © 2021. All rights reserved.