public class CreateTopicRequest extends AbstractModel
Constructor and Description |
---|
CreateTopicRequest() |
CreateTopicRequest(CreateTopicRequest 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 |
---|---|
Long |
getPartitionCount()
Get The number of topic partitions, which changes as partitions are split or merged.
|
String |
getTopicName()
Get Log topic name
|
String |
getTopicType()
Get Log type.
|
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 |
setTopicType(String TopicType)
Set Log 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 CreateTopicRequest()
public CreateTopicRequest(CreateTopicRequest source)
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.public String getTopicType()
public void setTopicType(String TopicType)
TopicType
- Log type. Valid values: ACCESS (access logs; default value) and HEALTH (health check logs).Copyright © 2021. All rights reserved.