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 Cluster ID
|
String[] |
getNamespaces()
Get Topic namespace.
|
Long |
getPartitionNum()
Get Number of partitions, which doesn't take effect for globally sequential messages
|
String |
getRemark()
Get Topic remarks (up to 128 characters)
|
String |
getTopic()
Get Topic name, which can contain 3–64 letters, digits, hyphens, and underscores
|
String |
getType()
Get Topic type.
|
void |
setClusterId(String ClusterId)
Set Cluster ID
|
void |
setNamespaces(String[] Namespaces)
Set Topic namespace.
|
void |
setPartitionNum(Long PartitionNum)
Set Number of partitions, which doesn't take effect for globally sequential messages
|
void |
setRemark(String Remark)
Set Topic remarks (up to 128 characters)
|
void |
setTopic(String Topic)
Set Topic name, which can contain 3–64 letters, digits, hyphens, and underscores
|
void |
setType(String Type)
Set Topic type.
|
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
- Topic name, which can contain 3–64 letters, digits, hyphens, and underscorespublic String[] getNamespaces()
public void setNamespaces(String[] Namespaces)
Namespaces
- Topic namespace. Currently, you can create topics only in one single namespace.public String getType()
public void setType(String Type)
Type
- Topic type. Valid values: `Normal`, `PartitionedOrder`, `Transaction`, `DelayScheduled`.public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Cluster IDpublic String getRemark()
public void setRemark(String Remark)
Remark
- Topic remarks (up to 128 characters)public Long getPartitionNum()
public void setPartitionNum(Long PartitionNum)
PartitionNum
- Number of partitions, which doesn't take effect for globally sequential messagesCopyright © 2023. All rights reserved.