public class NotificationTarget extends AbstractModel
| Constructor and Description |
|---|
NotificationTarget() |
| Modifier and Type | Method and Description |
|---|---|
String |
getQueueName()
Get Queue name.
|
String |
getTargetType()
Get Target type.
|
String |
getTopicName()
Get Topic name.
|
void |
setQueueName(String QueueName)
Set Queue name.
|
void |
setTargetType(String TargetType)
Set Target type.
|
void |
setTopicName(String TopicName)
Set Topic name.
|
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, toJsonStringpublic String getTargetType()
public void setTargetType(String TargetType)
TargetType - Target type. Value range: `CMQ_QUEUE`, `CMQ_TOPIC`.
public String getQueueName()
public void setQueueName(String QueueName)
QueueName - Queue name. If `TargetType` is `CMQ_QUEUE`, this parameter is required.public String getTopicName()
public void setTopicName(String TopicName)
TopicName - Topic name. If `TargetType` is `CMQ_TOPIC`, this parameter is required.Copyright © 2020. All rights reserved.