public class CreateTopicRequest extends AbstractModel
Constructor and Description |
---|
CreateTopicRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getEnvironmentId()
Get 环境(命名空间)名称。
|
Long |
getPartitions()
Get 0:非分区topic,无分区;非0:具体分区topic的分区数,最大不允许超过128。
|
String |
getRemark()
Get 备注,128字符以内。
|
String |
getTopicName()
Get 主题名,不支持中字以及除了短线和下划线外的特殊字符且不超过32个字符。
|
Long |
getTopicType()
Get 0: 普通消息;
1 :全局顺序消息;
2 :局部顺序消息;
3 :重试队列;
4 :死信队列;
5 :事务消息。
|
void |
setEnvironmentId(String EnvironmentId)
Set 环境(命名空间)名称。
|
void |
setPartitions(Long Partitions)
Set 0:非分区topic,无分区;非0:具体分区topic的分区数,最大不允许超过128。
|
void |
setRemark(String Remark)
Set 备注,128字符以内。
|
void |
setTopicName(String TopicName)
Set 主题名,不支持中字以及除了短线和下划线外的特殊字符且不超过32个字符。
|
void |
setTopicType(Long TopicType)
Set 0: 普通消息;
1 :全局顺序消息;
2 :局部顺序消息;
3 :重试队列;
4 :死信队列;
5 :事务消息。
|
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 String getEnvironmentId()
public void setEnvironmentId(String EnvironmentId)
EnvironmentId
- 环境(命名空间)名称。public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- 主题名,不支持中字以及除了短线和下划线外的特殊字符且不超过32个字符。public Long getPartitions()
public void setPartitions(Long Partitions)
Partitions
- 0:非分区topic,无分区;非0:具体分区topic的分区数,最大不允许超过128。public Long getTopicType()
public void setTopicType(Long TopicType)
TopicType
- 0: 普通消息;
1 :全局顺序消息;
2 :局部顺序消息;
3 :重试队列;
4 :死信队列;
5 :事务消息。public String getRemark()
public void setRemark(String Remark)
Remark
- 备注,128字符以内。Copyright © 2020. All rights reserved.