public class CreateTopicRequest extends AbstractModel
Constructor and Description |
---|
CreateTopicRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getPartitionCount()
Get The number of topic partitions, which changes as partitions are split or merged.
|
String |
getTopicName()
Get Log topic name
|
void |
setPartitionCount(Long PartitionCount)
Set The number of topic partitions, which changes as partitions are split or merged.
|
void |
setTopicName(String TopicName)
Set Log topic name
|
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 getTopicName()
public void setTopicName(String TopicName)
TopicName
- Log topic namepublic Long getPartitionCount()
public void setPartitionCount(Long PartitionCount)
PartitionCount
- The number of topic partitions, which changes as partitions are split or merged. Each log topic can have up to 50 partitions. If this parameter is not passed in, 1 partition will be created by default and up to 10 partitions are allowed to be created.Copyright © 2020. All rights reserved.