public class LiveStreamTaskNotifyConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
LiveStreamTaskNotifyConfig() |
LiveStreamTaskNotifyConfig(LiveStreamTaskNotifyConfig 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 |
getCmqModel()
Get Queue and Topic models are provided.
|
String |
getCmqRegion()
Get Region when NotifyType is set to TDMQ-CMQ.
|
String |
getNotifyKey()
Get Key used to generate a callback signature.
|
String |
getNotifyType()
Get Notification Type:
TDMQ-CMQ: TDMQ for CMQ.
|
String |
getNotifyUrl()
Get HTTP callback URL, required if `NotifyType` is set to `URL`
|
String |
getQueueName()
Get This field is valid when the model is Queue.
|
String |
getTopicName()
Get This field is valid when the model is Topic.
|
void |
setCmqModel(String CmqModel)
Set Queue and Topic models are provided.
|
void |
setCmqRegion(String CmqRegion)
Set Region when NotifyType is set to TDMQ-CMQ.
|
void |
setNotifyKey(String NotifyKey)
Set Key used to generate a callback signature.
|
void |
setNotifyType(String NotifyType)
Set Notification Type:
TDMQ-CMQ: TDMQ for CMQ.
|
void |
setNotifyUrl(String NotifyUrl)
Set HTTP callback URL, required if `NotifyType` is set to `URL`
|
void |
setQueueName(String QueueName)
Set This field is valid when the model is Queue.
|
void |
setTopicName(String TopicName)
Set This field is valid when the model is 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 LiveStreamTaskNotifyConfig()
public LiveStreamTaskNotifyConfig(LiveStreamTaskNotifyConfig source)
public String getNotifyType()
public void setNotifyType(String NotifyType)
NotifyType
- Notification Type:
TDMQ-CMQ: TDMQ for CMQ.
"URL": When a URL is specified, HTTP callbacks are pushed to the address specified by NotifyUrl. The callback protocol is HTTP+JSON. The content of the packet body is the same as the output parameters of [ParseLiveStreamProcessNotification](https://www.tencentcloud.comom/document/product/862/39229?from_cn_redirect=1).
Note: If it is left blank, TDMQ-CMQ is used by default. To use other types, fill in the corresponding type value.public String getNotifyUrl()
public void setNotifyUrl(String NotifyUrl)
NotifyUrl
- HTTP callback URL, required if `NotifyType` is set to `URL`public String getCmqModel()
public void setCmqModel(String CmqModel)
CmqModel
- Queue and Topic models are provided.public String getCmqRegion()
public void setCmqRegion(String CmqRegion)
CmqRegion
- Region when NotifyType is set to TDMQ-CMQ. For example, sh or bj.public String getQueueName()
public void setQueueName(String QueueName)
QueueName
- This field is valid when the model is Queue. It indicates the name of the TDMQ for CMQ queue for receiving event notifications.public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- This field is valid when the model is Topic. It indicates the name of the TDMQ for CMQ topic for receiving event notifications.public String getNotifyKey()
public void setNotifyKey(String NotifyKey)
NotifyKey
- Key used to generate a callback signature.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.