Class SetMessageQueueRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iotvideo.v20191126.models.SetMessageQueueRequest
-
public class SetMessageQueueRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SetMessageQueueRequest()SetMessageQueueRequest(SetMessageQueueRequest 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 StringgetInstance()Get kafka消息队列的实例名,不超过64字符LonggetMsgQueueType()Get 消息队列类型 1-CMQ; 2-CkafkaStringgetMsgRegion()Get 消息地域,不超过32字符StringgetMsgType()Get 消息类型,整型值(0-31)之间以“,”分隔 0.设备在线状态变更 1.常亮属性(ProConst)变更 2.可写属性(ProWritable)变更 3.只读属性(ProReadonly)变更 4.设备控制(Action) 5.设备事件(Event) 6.系统事件(System)StringgetProductId()Get 产品IDStringgetTopic()Get 消息队列主题,不超过32字符voidsetInstance(String Instance)Set kafka消息队列的实例名,不超过64字符voidsetMsgQueueType(Long MsgQueueType)Set 消息队列类型 1-CMQ; 2-CkafkavoidsetMsgRegion(String MsgRegion)Set 消息地域,不超过32字符voidsetMsgType(String MsgType)Set 消息类型,整型值(0-31)之间以“,”分隔 0.设备在线状态变更 1.常亮属性(ProConst)变更 2.可写属性(ProWritable)变更 3.只读属性(ProReadonly)变更 4.设备控制(Action) 5.设备事件(Event) 6.系统事件(System)voidsetProductId(String ProductId)Set 产品IDvoidsetTopic(String Topic)Set 消息队列主题,不超过32字符voidtoMap(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
-
SetMessageQueueRequest
public SetMessageQueueRequest()
-
SetMessageQueueRequest
public SetMessageQueueRequest(SetMessageQueueRequest 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
-
getProductId
public String getProductId()
Get 产品ID- Returns:
- ProductId 产品ID
-
setProductId
public void setProductId(String ProductId)
Set 产品ID- Parameters:
ProductId- 产品ID
-
getMsgQueueType
public Long getMsgQueueType()
Get 消息队列类型 1-CMQ; 2-Ckafka- Returns:
- MsgQueueType 消息队列类型 1-CMQ; 2-Ckafka
-
setMsgQueueType
public void setMsgQueueType(Long MsgQueueType)
Set 消息队列类型 1-CMQ; 2-Ckafka- Parameters:
MsgQueueType- 消息队列类型 1-CMQ; 2-Ckafka
-
getMsgType
public String getMsgType()
Get 消息类型,整型值(0-31)之间以“,”分隔 0.设备在线状态变更 1.常亮属性(ProConst)变更 2.可写属性(ProWritable)变更 3.只读属性(ProReadonly)变更 4.设备控制(Action) 5.设备事件(Event) 6.系统事件(System)- Returns:
- MsgType 消息类型,整型值(0-31)之间以“,”分隔 0.设备在线状态变更 1.常亮属性(ProConst)变更 2.可写属性(ProWritable)变更 3.只读属性(ProReadonly)变更 4.设备控制(Action) 5.设备事件(Event) 6.系统事件(System)
-
setMsgType
public void setMsgType(String MsgType)
Set 消息类型,整型值(0-31)之间以“,”分隔 0.设备在线状态变更 1.常亮属性(ProConst)变更 2.可写属性(ProWritable)变更 3.只读属性(ProReadonly)变更 4.设备控制(Action) 5.设备事件(Event) 6.系统事件(System)- Parameters:
MsgType- 消息类型,整型值(0-31)之间以“,”分隔 0.设备在线状态变更 1.常亮属性(ProConst)变更 2.可写属性(ProWritable)变更 3.只读属性(ProReadonly)变更 4.设备控制(Action) 5.设备事件(Event) 6.系统事件(System)
-
getTopic
public String getTopic()
Get 消息队列主题,不超过32字符- Returns:
- Topic 消息队列主题,不超过32字符
-
setTopic
public void setTopic(String Topic)
Set 消息队列主题,不超过32字符- Parameters:
Topic- 消息队列主题,不超过32字符
-
getInstance
public String getInstance()
Get kafka消息队列的实例名,不超过64字符- Returns:
- Instance kafka消息队列的实例名,不超过64字符
-
setInstance
public void setInstance(String Instance)
Set kafka消息队列的实例名,不超过64字符- Parameters:
Instance- kafka消息队列的实例名,不超过64字符
-
getMsgRegion
public String getMsgRegion()
Get 消息地域,不超过32字符- Returns:
- MsgRegion 消息地域,不超过32字符
-
setMsgRegion
public void setMsgRegion(String MsgRegion)
Set 消息地域,不超过32字符- Parameters:
MsgRegion- 消息地域,不超过32字符
-
-