public class ModifyTopicRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
ModifyTopicRequest()  | 
ModifyTopicRequest(ModifyTopicRequest 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 to enable automatic split 
 | 
String | 
getDescribes()
Get Log topic description 
 | 
Long | 
getHotPeriod()
Get `0`: Disable log transitioning. 
 | 
Boolean | 
getIsWebTracking()
Get Free authentication switch. 
 | 
Long | 
getMaxSplitPartitions()
Get Maximum number of partitions to split into for this topic if automatic split is enabled 
 | 
Long | 
getPeriod()
Get Lifecycle in days. 
 | 
Boolean | 
getStatus()
Get Whether the topic has log collection enabled. 
 | 
Tag[] | 
getTags()
Get Tag description list. 
 | 
String | 
getTopicId()
Get Log topic ID 
 | 
String | 
getTopicName()
Get Log topic name 
 | 
void | 
setAutoSplit(Boolean AutoSplit)
Set Whether to enable automatic split 
 | 
void | 
setDescribes(String Describes)
Set Log topic description 
 | 
void | 
setHotPeriod(Long HotPeriod)
Set `0`: Disable log transitioning. 
 | 
void | 
setIsWebTracking(Boolean IsWebTracking)
Set Free authentication switch. 
 | 
void | 
setMaxSplitPartitions(Long MaxSplitPartitions)
Set Maximum number of partitions to split into for this topic if automatic split is enabled 
 | 
void | 
setPeriod(Long Period)
Set Lifecycle in days. 
 | 
void | 
setStatus(Boolean Status)
Set Whether the topic has log collection enabled. 
 | 
void | 
setTags(Tag[] Tags)
Set Tag description list. 
 | 
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, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ModifyTopicRequest()
public ModifyTopicRequest(ModifyTopicRequest source)
public String getTopicId()
public void setTopicId(String TopicId)
TopicId - Log topic IDpublic String getTopicName()
public void setTopicName(String TopicName)
TopicName - Log topic namepublic Tag[] getTags()
public void setTags(Tag[] Tags)
Tags - Tag description list. This parameter is used to bind a tag to a log topic. Up to 10 tag key-value pairs are supported, and they must be unique.public Boolean getStatus()
public void setStatus(Boolean Status)
Status - Whether the topic has log collection enabled. true: collection enabled; false: collection disabled.The console currently does not support modifying this parameter.public Boolean getAutoSplit()
public void setAutoSplit(Boolean AutoSplit)
AutoSplit - Whether to enable automatic splitpublic Long getMaxSplitPartitions()
public void setMaxSplitPartitions(Long MaxSplitPartitions)
MaxSplitPartitions - Maximum number of partitions to split into for this topic if automatic split is enabledpublic Long getPeriod()
public void setPeriod(Long Period)
Period - Lifecycle in days. Value range: 1 to 3600 (STANDARD storage); 7 to 3600 (IA storage). 3640 indicates permanent retention.public String getDescribes()
public void setDescribes(String Describes)
Describes - Log topic descriptionpublic Long getHotPeriod()
public void setHotPeriod(Long HotPeriod)
HotPeriod - `0`: Disable log transitioning.
A value other than `0`: The number of STANDARD storage days after log transitioning is enabled (valid only if `StorageType` is `hot`). Note: `HotPeriod` should be greater than or equal to `7` and less than `Period`.public Boolean getIsWebTracking()
public void setIsWebTracking(Boolean IsWebTracking)
IsWebTracking - Free authentication switch. false: disabled; true: enabled.Once enabled, it will support specified operations for anonymous access to this log topic. For details, please see [log Topic](https://intl.cloud.tencent.com/document/product/614/41035?from_cn_redirect=1).Copyright © 2025. All rights reserved.