Class LiveStreamTaskNotifyConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.LiveStreamTaskNotifyConfig
-
public class LiveStreamTaskNotifyConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCmqModel()
Get CMQ 的模型,有 Queue 和 Topic 两种,目前仅支持 Queue。String
getCmqRegion()
Get CMQ 的园区,如 sh,bj 等。String
getNotifyType()
Get 通知类型,默认CMQ,指定URL时HTTP回调推送到 NotifyUrl 指定的地址。 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。String
getNotifyUrl()
Get HTTP回调地址,NotifyType为URL时必填。String
getQueueName()
Get 当模型为 Queue 时有效,表示接收事件通知的 CMQ 的队列名。String
getTopicName()
Get 当模型为 Topic 时有效,表示接收事件通知的 CMQ 的主题名。void
setCmqModel(String CmqModel)
Set CMQ 的模型,有 Queue 和 Topic 两种,目前仅支持 Queue。void
setCmqRegion(String CmqRegion)
Set CMQ 的园区,如 sh,bj 等。void
setNotifyType(String NotifyType)
Set 通知类型,默认CMQ,指定URL时HTTP回调推送到 NotifyUrl 指定的地址。 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。void
setNotifyUrl(String NotifyUrl)
Set HTTP回调地址,NotifyType为URL时必填。void
setQueueName(String QueueName)
Set 当模型为 Queue 时有效,表示接收事件通知的 CMQ 的队列名。void
setTopicName(String TopicName)
Set 当模型为 Topic 时有效,表示接收事件通知的 CMQ 的主题名。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
LiveStreamTaskNotifyConfig
public LiveStreamTaskNotifyConfig()
-
LiveStreamTaskNotifyConfig
public 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.
-
-
Method Detail
-
getCmqModel
public String getCmqModel()
Get CMQ 的模型,有 Queue 和 Topic 两种,目前仅支持 Queue。- Returns:
- CmqModel CMQ 的模型,有 Queue 和 Topic 两种,目前仅支持 Queue。
-
setCmqModel
public void setCmqModel(String CmqModel)
Set CMQ 的模型,有 Queue 和 Topic 两种,目前仅支持 Queue。- Parameters:
CmqModel
- CMQ 的模型,有 Queue 和 Topic 两种,目前仅支持 Queue。
-
getCmqRegion
public String getCmqRegion()
Get CMQ 的园区,如 sh,bj 等。- Returns:
- CmqRegion CMQ 的园区,如 sh,bj 等。
-
setCmqRegion
public void setCmqRegion(String CmqRegion)
Set CMQ 的园区,如 sh,bj 等。- Parameters:
CmqRegion
- CMQ 的园区,如 sh,bj 等。
-
getQueueName
public String getQueueName()
Get 当模型为 Queue 时有效,表示接收事件通知的 CMQ 的队列名。- Returns:
- QueueName 当模型为 Queue 时有效,表示接收事件通知的 CMQ 的队列名。
-
setQueueName
public void setQueueName(String QueueName)
Set 当模型为 Queue 时有效,表示接收事件通知的 CMQ 的队列名。- Parameters:
QueueName
- 当模型为 Queue 时有效,表示接收事件通知的 CMQ 的队列名。
-
getTopicName
public String getTopicName()
Get 当模型为 Topic 时有效,表示接收事件通知的 CMQ 的主题名。- Returns:
- TopicName 当模型为 Topic 时有效,表示接收事件通知的 CMQ 的主题名。
-
setTopicName
public void setTopicName(String TopicName)
Set 当模型为 Topic 时有效,表示接收事件通知的 CMQ 的主题名。- Parameters:
TopicName
- 当模型为 Topic 时有效,表示接收事件通知的 CMQ 的主题名。
-
getNotifyType
public String getNotifyType()
Get 通知类型,默认CMQ,指定URL时HTTP回调推送到 NotifyUrl 指定的地址。 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。- Returns:
- NotifyType 通知类型,默认CMQ,指定URL时HTTP回调推送到 NotifyUrl 指定的地址。 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。
-
setNotifyType
public void setNotifyType(String NotifyType)
Set 通知类型,默认CMQ,指定URL时HTTP回调推送到 NotifyUrl 指定的地址。 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。- Parameters:
NotifyType
- 通知类型,默认CMQ,指定URL时HTTP回调推送到 NotifyUrl 指定的地址。 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。
-
getNotifyUrl
public String getNotifyUrl()
Get HTTP回调地址,NotifyType为URL时必填。- Returns:
- NotifyUrl HTTP回调地址,NotifyType为URL时必填。
-
setNotifyUrl
public void setNotifyUrl(String NotifyUrl)
Set HTTP回调地址,NotifyType为URL时必填。- Parameters:
NotifyUrl
- HTTP回调地址,NotifyType为URL时必填。
-
-