Class CreateRocketMQTopicRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tdmq.v20200217.models.CreateRocketMQTopicRequest
-
public class CreateRocketMQTopicRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClusterId()Get 集群IDString[]getNamespaces()Get 主题所在的命名空间,目前支持在单个命名空间下创建主题LonggetPartitionNum()Get 分区数,全局顺序无效StringgetRemark()Get 主题说明,最大128个字符StringgetTopic()Get 主题名称,3-64个字符,只能包含字母、数字、“-”及“_”StringgetType()Get 主题类型,可选值为Normal, PartitionedOrder, Transaction, DelayScheduled。voidsetClusterId(String ClusterId)Set 集群IDvoidsetNamespaces(String[] Namespaces)Set 主题所在的命名空间,目前支持在单个命名空间下创建主题voidsetPartitionNum(Long PartitionNum)Set 分区数,全局顺序无效voidsetRemark(String Remark)Set 主题说明,最大128个字符voidsetTopic(String Topic)Set 主题名称,3-64个字符,只能包含字母、数字、“-”及“_”voidsetType(String Type)Set 主题类型,可选值为Normal, PartitionedOrder, Transaction, DelayScheduled。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
-
CreateRocketMQTopicRequest
public CreateRocketMQTopicRequest()
-
CreateRocketMQTopicRequest
public 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.
-
-
Method Detail
-
getTopic
public String getTopic()
Get 主题名称,3-64个字符,只能包含字母、数字、“-”及“_”- Returns:
- Topic 主题名称,3-64个字符,只能包含字母、数字、“-”及“_”
-
setTopic
public void setTopic(String Topic)
Set 主题名称,3-64个字符,只能包含字母、数字、“-”及“_”- Parameters:
Topic- 主题名称,3-64个字符,只能包含字母、数字、“-”及“_”
-
getNamespaces
public String[] getNamespaces()
Get 主题所在的命名空间,目前支持在单个命名空间下创建主题- Returns:
- Namespaces 主题所在的命名空间,目前支持在单个命名空间下创建主题
-
setNamespaces
public void setNamespaces(String[] Namespaces)
Set 主题所在的命名空间,目前支持在单个命名空间下创建主题- Parameters:
Namespaces- 主题所在的命名空间,目前支持在单个命名空间下创建主题
-
getType
public String getType()
Get 主题类型,可选值为Normal, PartitionedOrder, Transaction, DelayScheduled。- Returns:
- Type 主题类型,可选值为Normal, PartitionedOrder, Transaction, DelayScheduled。
-
setType
public void setType(String Type)
Set 主题类型,可选值为Normal, PartitionedOrder, Transaction, DelayScheduled。- Parameters:
Type- 主题类型,可选值为Normal, PartitionedOrder, Transaction, DelayScheduled。
-
getClusterId
public String getClusterId()
Get 集群ID- Returns:
- ClusterId 集群ID
-
setClusterId
public void setClusterId(String ClusterId)
Set 集群ID- Parameters:
ClusterId- 集群ID
-
getRemark
public String getRemark()
Get 主题说明,最大128个字符- Returns:
- Remark 主题说明,最大128个字符
-
setRemark
public void setRemark(String Remark)
Set 主题说明,最大128个字符- Parameters:
Remark- 主题说明,最大128个字符
-
getPartitionNum
public Long getPartitionNum()
Get 分区数,全局顺序无效- Returns:
- PartitionNum 分区数,全局顺序无效
-
setPartitionNum
public void setPartitionNum(Long PartitionNum)
Set 分区数,全局顺序无效- Parameters:
PartitionNum- 分区数,全局顺序无效
-
-