public class CreateTopicRequest extends AbstractModel
header, skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getInstanceId()
Get 实例ID
|
Long |
getMsgTTL()
Get 消息保留时长
|
Long |
getQueueNum()
Get 队列数量
|
String |
getRemark()
Get 备注
|
String |
getTopic()
Get 主题
|
String |
getTopicType()
Get 主题类型
UNSPECIFIED:未指定,
NORMAL:普通消息,
FIFO:顺序消息,
DELAY:延时消息,
TRANSACTION:事务消息
|
void |
setInstanceId(String InstanceId)
Set 实例ID
|
void |
setMsgTTL(Long MsgTTL)
Set 消息保留时长
|
void |
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.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateTopicRequest()
public CreateTopicRequest(CreateTopicRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 实例IDpublic String getTopic()
public void setTopic(String Topic)
Topic
- 主题public String getTopicType()
public void setTopicType(String TopicType)
TopicType
- 主题类型
UNSPECIFIED:未指定,
NORMAL:普通消息,
FIFO:顺序消息,
DELAY:延时消息,
TRANSACTION:事务消息public Long getQueueNum()
public void setQueueNum(Long QueueNum)
QueueNum
- 队列数量public String getRemark()
public void setRemark(String Remark)
Remark
- 备注public Long getMsgTTL()
public void setMsgTTL(Long MsgTTL)
MsgTTL
- 消息保留时长Copyright © 2024. All rights reserved.