public class LiveStreamTaskNotifyConfig extends AbstractModel
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 CMQ model.
|
String |
getCmqRegion()
Get CMQ region, such as `sh` and `bj`.
|
String |
getNotifyType()
Get The notification type, `CMQ` by default.
|
String |
getNotifyUrl()
Get HTTP callback URL, required if `NotifyType` is set to `URL`
|
String |
getQueueName()
Get This parameter is valid when the model is `Queue`, indicating the name of the CMQ queue for receiving event notifications.
|
String |
getTopicName()
Get This parameter is valid when the model is `Topic`, indicating the name of the CMQ topic for receiving event notifications.
|
void |
setCmqModel(String CmqModel)
Set CMQ model.
|
void |
setCmqRegion(String CmqRegion)
Set CMQ region, such as `sh` and `bj`.
|
void |
setNotifyType(String NotifyType)
Set The notification type, `CMQ` by default.
|
void |
setNotifyUrl(String NotifyUrl)
Set HTTP callback URL, required if `NotifyType` is set to `URL`
|
void |
setQueueName(String QueueName)
Set This parameter is valid when the model is `Queue`, indicating the name of the CMQ queue for receiving event notifications.
|
void |
setTopicName(String TopicName)
Set This parameter is valid when the model is `Topic`, indicating the name of the CMQ topic for receiving event notifications.
|
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 LiveStreamTaskNotifyConfig()
public LiveStreamTaskNotifyConfig(LiveStreamTaskNotifyConfig source)
public String getCmqModel()
public void setCmqModel(String CmqModel)
CmqModel
- CMQ model. There are two types: `Queue` and `Topic`. Currently, only `Queue` is supported.public String getCmqRegion()
public void setCmqRegion(String CmqRegion)
CmqRegion
- CMQ region, such as `sh` and `bj`.public String getQueueName()
public void setQueueName(String QueueName)
QueueName
- This parameter is valid when the model is `Queue`, indicating the name of the CMQ queue for receiving event notifications.public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- This parameter is valid when the model is `Topic`, indicating the name of the CMQ topic for receiving event notifications.public String getNotifyType()
public void setNotifyType(String NotifyType)
NotifyType
- The notification type, `CMQ` by default. If this parameter is set to `URL`, HTTP callbacks are sent to the URL specified by `NotifyUrl`.
Note: If you do not pass this parameter or pass in an empty string, `CMQ` will be used. To use a different notification type, specify this parameter accordingly.public String getNotifyUrl()
public void setNotifyUrl(String NotifyUrl)
NotifyUrl
- HTTP callback URL, required if `NotifyType` is set to `URL`Copyright © 2023. All rights reserved.