public class TopicInfo extends AbstractModel
| Constructor and Description | 
|---|
| TopicInfo() | 
| TopicInfo(TopicInfo 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 | 
|---|---|
| Boolean | getAutoSplit()Get Whether automatic split is enabled for this topic
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| String | getCreateTime()Get Creation time | 
| Boolean | getIndex()Get Whether index is enabled | 
| String | getLogsetId()Get Logset ID | 
| Long | getMaxSplitPartitions()Get Maximum number of partitions to split into for this topic if automatic split is enabled
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| Long | getPartitionCount()Get Number of topic partitions | 
| Long | getPeriod()Get Lifecycle in days
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| Boolean | getStatus()Get Whether collection is enabled in the log topic | 
| String | getStorageType()Get Log topic storage class
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| Tag[] | getTags()Get Information of tags bound to log topic
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| String | getTopicId()Get Log topic ID | 
| String | getTopicName()Get Log topic name | 
| void | setAutoSplit(Boolean AutoSplit)Set Whether automatic split is enabled for this topic
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setCreateTime(String CreateTime)Set Creation time | 
| void | setIndex(Boolean Index)Set Whether index is enabled | 
| void | setLogsetId(String LogsetId)Set Logset ID | 
| void | setMaxSplitPartitions(Long MaxSplitPartitions)Set Maximum number of partitions to split into for this topic if automatic split is enabled
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setPartitionCount(Long PartitionCount)Set Number of topic partitions | 
| void | setPeriod(Long Period)Set Lifecycle in days
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setStatus(Boolean Status)Set Whether collection is enabled in the log topic | 
| void | setStorageType(String StorageType)Set Log topic storage class
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setTags(Tag[] Tags)Set Information of tags bound to log topic
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setTopicId(String TopicId)Set Log topic ID | 
| 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, toJsonStringpublic TopicInfo()
public TopicInfo(TopicInfo source)
public String getLogsetId()
public void setLogsetId(String LogsetId)
LogsetId - Logset IDpublic String getTopicId()
public void setTopicId(String TopicId)
TopicId - Log topic IDpublic String getTopicName()
public void setTopicName(String TopicName)
TopicName - Log topic namepublic Long getPartitionCount()
public void setPartitionCount(Long PartitionCount)
PartitionCount - Number of topic partitionspublic Boolean getIndex()
public void setIndex(Boolean Index)
Index - Whether index is enabledpublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - Creation timepublic Boolean getStatus()
public void setStatus(Boolean Status)
Status - Whether collection is enabled in the log topicpublic Tag[] getTags()
public void setTags(Tag[] Tags)
Tags - Information of tags bound to log topic
Note: this field may return `null`, indicating that no valid values can be obtained.public Boolean getAutoSplit()
public void setAutoSplit(Boolean AutoSplit)
AutoSplit - Whether automatic split is enabled for this topic
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getMaxSplitPartitions()
public void setMaxSplitPartitions(Long MaxSplitPartitions)
MaxSplitPartitions - Maximum number of partitions to split into for this topic if automatic split is enabled
Note: this field may return `null`, indicating that no valid values can be obtained.public String getStorageType()
public void setStorageType(String StorageType)
StorageType - Log topic storage class
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getPeriod()
public void setPeriod(Long Period)
Period - Lifecycle in days
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2021. All rights reserved.