public class CreateRocketMQTopicRequest extends AbstractModel
Constructor and Description |
---|
CreateRocketMQTopicRequest() |
CreateRocketMQTopicRequest(CreateRocketMQTopicRequest 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 |
getClusterId()
Get 集群ID
|
String[] |
getNamespaces()
Get 主题所在的命名空间,目前支持在单个命名空间下创建主题
|
Long |
getPartitionNum()
Get 分区数,全局顺序无效
|
String |
getRemark()
Get 主题说明,最大128个字符
|
String |
getTopic()
Get 主题名称,3-64个字符,只能包含字母、数字、“-”及“_”
|
String |
getType()
Get 主题类型,可选值为Normal, GlobalOrder, PartitionedOrder
|
void |
setClusterId(String ClusterId)
Set 集群ID
|
void |
setNamespaces(String[] Namespaces)
Set 主题所在的命名空间,目前支持在单个命名空间下创建主题
|
void |
setPartitionNum(Long PartitionNum)
Set 分区数,全局顺序无效
|
void |
setRemark(String Remark)
Set 主题说明,最大128个字符
|
void |
setTopic(String Topic)
Set 主题名称,3-64个字符,只能包含字母、数字、“-”及“_”
|
void |
setType(String Type)
Set 主题类型,可选值为Normal, GlobalOrder, PartitionedOrder
|
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 CreateRocketMQTopicRequest()
public CreateRocketMQTopicRequest(CreateRocketMQTopicRequest source)
public String getTopic()
public void setTopic(String Topic)
Topic
- 主题名称,3-64个字符,只能包含字母、数字、“-”及“_”public String[] getNamespaces()
public void setNamespaces(String[] Namespaces)
Namespaces
- 主题所在的命名空间,目前支持在单个命名空间下创建主题public String getType()
public void setType(String Type)
Type
- 主题类型,可选值为Normal, GlobalOrder, PartitionedOrderpublic String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- 集群IDpublic String getRemark()
public void setRemark(String Remark)
Remark
- 主题说明,最大128个字符public Long getPartitionNum()
public void setPartitionNum(Long PartitionNum)
PartitionNum
- 分区数,全局顺序无效Copyright © 2022. All rights reserved.