public class TopicInfo extends AbstractModel
header, skipSign| 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 | 
|---|---|
String | 
getAssumerName()
Get Cloud product identifier. 
 | 
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. 
 | 
Long | 
getBizType()
Get Topic type. 
 | 
String | 
getCreateTime()
Get Creation time 
 | 
String | 
getDescribes()
Get Topic description
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
TopicExtendInfo | 
getExtends()
Get 
 | 
Long | 
getHotPeriod()
Get Enable log sinking, with the lifecycle of standard storage, where hotPeriod < Period.For standard storage, hotPeriod is used, and for infrequent access storage, it is Period-hotPeriod. 
 | 
Boolean | 
getIndex()
Get Whether the topic has indexing enabled (the topic type must be log topic) 
 | 
Boolean | 
getIsWebTracking()
Get Free authentication switch. 
 | 
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. 
 | 
Boolean | 
getStatus()
Get Whether the topic has log collection enabled. 
 | 
String | 
getStorageType()
Get Storage type of the topicNote: This field may return null, indicating that no valid values can be obtained. 
 | 
String | 
getSubAssumerName()
Get Cloud product sub-identifier. 
 | 
Tag[] | 
getTags()
Get Tag information bound to the topicNote: This field may return null, indicating that no valid values can be obtained. 
 | 
String | 
getTopicId()
Get  Topic ID 
 | 
String | 
getTopicName()
Get Topic Name 
 | 
void | 
setAssumerName(String AssumerName)
Set Cloud product identifier. 
 | 
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 | 
setBizType(Long BizType)
Set Topic type. 
 | 
void | 
setCreateTime(String CreateTime)
Set Creation time 
 | 
void | 
setDescribes(String Describes)
Set Topic description
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setExtends(TopicExtendInfo Extends)
Set 
 | 
void | 
setHotPeriod(Long HotPeriod)
Set Enable log sinking, with the lifecycle of standard storage, where hotPeriod < Period.For standard storage, hotPeriod is used, and for infrequent access storage, it is Period-hotPeriod. 
 | 
void | 
setIndex(Boolean Index)
Set Whether the topic has indexing enabled (the topic type must be log topic) 
 | 
void | 
setIsWebTracking(Boolean IsWebTracking)
Set Free authentication switch. 
 | 
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. 
 | 
void | 
setStatus(Boolean Status)
Set Whether the topic has log collection enabled. 
 | 
void | 
setStorageType(String StorageType)
Set Storage type of the topicNote: This field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setSubAssumerName(String SubAssumerName)
Set Cloud product sub-identifier. 
 | 
void | 
setTags(Tag[] Tags)
Set Tag information bound to the topicNote: This field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setTopicId(String TopicId)
Set  Topic ID 
 | 
void | 
setTopicName(String TopicName)
Set Topic Name 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, 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 - Topic IDpublic String getTopicName()
public void setTopicName(String TopicName)
TopicName - Topic Namepublic Long getPartitionCount()
public void setPartitionCount(Long PartitionCount)
PartitionCount - Number of topic partitionspublic Boolean getIndex()
public void setIndex(Boolean Index)
Index - Whether the topic has indexing enabled (the topic type must be log topic)public String getAssumerName()
public void setAssumerName(String AssumerName)
AssumerName - Cloud product identifier. When the topic is created by other cloud products, this field displays the name of the cloud product, such as CDN, TKE.Note: This field may return null, indicating that no valid values can be obtained.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - Creation timepublic Boolean getStatus()
public void setStatus(Boolean Status)
Status - Whether the topic has log collection enabled. true: collection enabled; false: collection disabled.Log collection is enabled by default when creating a log topic, and this field can be modified by calling ModifyTopic through the SDK.The console currently does not support modifying this parameter.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags - Tag information bound to the topicNote: 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 - Storage type of the topicNote: 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. Value range: 1-3600 (3640 indicates permanent retention)
Note: This field may return `null`, indicating that no valid value was found.public String getSubAssumerName()
public void setSubAssumerName(String SubAssumerName)
SubAssumerName - Cloud product sub-identifier. If the log topic is created by another cloud product, this field returns the name of the cloud product and its log type, such as `TKE-Audit` or `TKE-Event`. Some products only return the cloud product identifier (`AssumerName`), without this field.
Note: This field may return null, indicating that no valid values can be obtained.public String getDescribes()
public void setDescribes(String Describes)
Describes - Topic description
Note: This field may return null, indicating that no valid values can be obtained.public Long getHotPeriod()
public void setHotPeriod(Long HotPeriod)
HotPeriod - Enable log sinking, with the lifecycle of standard storage, where hotPeriod < Period.For standard storage, hotPeriod is used, and for infrequent access storage, it is Period-hotPeriod. (The topic type must be a log topic)HotPeriod=0 indicates that log sinking is not enabled.
Note: This field may return null, indicating that no valid values can be obtained.public Long getBizType()
public void setBizType(Long BizType)
BizType - Topic type.
- 0:  log  Topic  
- 1: Metric Topic
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getIsWebTracking()
public void setIsWebTracking(Boolean IsWebTracking)
IsWebTracking - Free authentication switch. false: disabled; true: enabled.After enabling, anonymous access to the log topic will be supported for specified operations. For details, please refer to Log Topic (https://intl.cloud.tencent.com/document/product/614/41035?from_cn_redirect=1).Note: This field may return null, indicating that no valid values can be obtained.public TopicExtendInfo getExtends()
public void setExtends(TopicExtendInfo Extends)
Extends - Copyright © 2025. All rights reserved.