public class NotificationTarget extends AbstractModel
header, skipSign
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 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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public NotificationTarget()
public NotificationTarget(NotificationTarget source)
public String getTargetType()
public void setTargetType(String TargetType)
TargetType
- Target type. Valid values: `CMQ_QUEUE`, `CMQ_TOPIC`, `TDMQ_CMQ_QUEUE` and `TDMQ_CMQ_TOPIC`.
public String getQueueName()
public void setQueueName(String QueueName)
QueueName
- Queue name. This parameter is required when `TargetType` is `CMQ_QUEUE` or `TDMQ_CMQ_QUEUE`.public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- Topic name. This parameter is required when `TargetType` is `CMQ_TOPIC` or `TDMQ_CMQ_TOPIC`.Copyright © 2024. All rights reserved.