Class CreateTopicRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.trocket.v20230308.models.CreateTopicRequest
-
public class CreateTopicRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateTopicRequest()
CreateTopicRequest(CreateTopicRequest 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
getInstanceId()
Get 实例IDLong
getQueueNum()
Get 队列数量String
getRemark()
Get 备注String
getTopic()
Get 主题String
getTopicType()
Get 主题类型 UNSPECIFIED:未指定, NORMAL:普通消息, FIFO:顺序消息, DELAY:延时消息, TRANSACTION:事务消息void
setInstanceId(String InstanceId)
Set 实例IDvoid
setQueueNum(Long QueueNum)
Set 队列数量void
setRemark(String Remark)
Set 备注void
setTopic(String Topic)
Set 主题void
setTopicType(String TopicType)
Set 主题类型 UNSPECIFIED:未指定, NORMAL:普通消息, FIFO:顺序消息, DELAY:延时消息, TRANSACTION:事务消息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
-
CreateTopicRequest
public CreateTopicRequest()
-
CreateTopicRequest
public CreateTopicRequest(CreateTopicRequest 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
-
getInstanceId
public String getInstanceId()
Get 实例ID- Returns:
- InstanceId 实例ID
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 实例ID- Parameters:
InstanceId
- 实例ID
-
getTopic
public String getTopic()
Get 主题- Returns:
- Topic 主题
-
setTopic
public void setTopic(String Topic)
Set 主题- Parameters:
Topic
- 主题
-
getTopicType
public String getTopicType()
Get 主题类型 UNSPECIFIED:未指定, NORMAL:普通消息, FIFO:顺序消息, DELAY:延时消息, TRANSACTION:事务消息- Returns:
- TopicType 主题类型 UNSPECIFIED:未指定, NORMAL:普通消息, FIFO:顺序消息, DELAY:延时消息, TRANSACTION:事务消息
-
setTopicType
public void setTopicType(String TopicType)
Set 主题类型 UNSPECIFIED:未指定, NORMAL:普通消息, FIFO:顺序消息, DELAY:延时消息, TRANSACTION:事务消息- Parameters:
TopicType
- 主题类型 UNSPECIFIED:未指定, NORMAL:普通消息, FIFO:顺序消息, DELAY:延时消息, TRANSACTION:事务消息
-
getQueueNum
public Long getQueueNum()
Get 队列数量- Returns:
- QueueNum 队列数量
-
setQueueNum
public void setQueueNum(Long QueueNum)
Set 队列数量- Parameters:
QueueNum
- 队列数量
-
getRemark
public String getRemark()
Get 备注- Returns:
- Remark 备注
-
setRemark
public void setRemark(String Remark)
Set 备注- Parameters:
Remark
- 备注
-
-