Class ModifyTopicRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cls.v20201016.models.ModifyTopicRequest
-
public class ModifyTopicRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getAutoSplit()
Get 是否开启自动分裂String
getDescribes()
Get 日志主题描述Long
getHotPeriod()
Get 0:关闭日志沉降。 非0:开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period。仅在StorageType为 hot 时生效Boolean
getIsWebTracking()
Get webtracking开关; false: 关闭 true: 开启Long
getMaxSplitPartitions()
Get 若开启最大分裂,该主题能够能够允许的最大分区数Long
getPeriod()
Get 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600。取值为3640时代表永久保存Boolean
getStatus()
Get 该日志主题是否开始采集Tag[]
getTags()
Get 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,并且不能有重复的键值对。String
getTopicId()
Get 日志主题IDString
getTopicName()
Get 日志主题名称void
setAutoSplit(Boolean AutoSplit)
Set 是否开启自动分裂void
setDescribes(String Describes)
Set 日志主题描述void
setHotPeriod(Long HotPeriod)
Set 0:关闭日志沉降。 非0:开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period。仅在StorageType为 hot 时生效void
setIsWebTracking(Boolean IsWebTracking)
Set webtracking开关; false: 关闭 true: 开启void
setMaxSplitPartitions(Long MaxSplitPartitions)
Set 若开启最大分裂,该主题能够能够允许的最大分区数void
setPeriod(Long Period)
Set 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600。取值为3640时代表永久保存void
setStatus(Boolean Status)
Set 该日志主题是否开始采集void
setTags(Tag[] Tags)
Set 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,并且不能有重复的键值对。void
setTopicId(String TopicId)
Set 日志主题IDvoid
setTopicName(String TopicName)
Set 日志主题名称void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ModifyTopicRequest
public ModifyTopicRequest()
-
ModifyTopicRequest
public 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.
-
-
Method Detail
-
getTopicId
public String getTopicId()
Get 日志主题ID- Returns:
- TopicId 日志主题ID
-
setTopicId
public void setTopicId(String TopicId)
Set 日志主题ID- Parameters:
TopicId
- 日志主题ID
-
getTopicName
public String getTopicName()
Get 日志主题名称- Returns:
- TopicName 日志主题名称
-
setTopicName
public void setTopicName(String TopicName)
Set 日志主题名称- Parameters:
TopicName
- 日志主题名称
-
getTags
public Tag[] getTags()
Get 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,并且不能有重复的键值对。- Returns:
- Tags 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,并且不能有重复的键值对。
-
setTags
public void setTags(Tag[] Tags)
Set 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,并且不能有重复的键值对。- Parameters:
Tags
- 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,并且不能有重复的键值对。
-
getStatus
public Boolean getStatus()
Get 该日志主题是否开始采集- Returns:
- Status 该日志主题是否开始采集
-
setStatus
public void setStatus(Boolean Status)
Set 该日志主题是否开始采集- Parameters:
Status
- 该日志主题是否开始采集
-
getAutoSplit
public Boolean getAutoSplit()
Get 是否开启自动分裂- Returns:
- AutoSplit 是否开启自动分裂
-
setAutoSplit
public void setAutoSplit(Boolean AutoSplit)
Set 是否开启自动分裂- Parameters:
AutoSplit
- 是否开启自动分裂
-
getMaxSplitPartitions
public Long getMaxSplitPartitions()
Get 若开启最大分裂,该主题能够能够允许的最大分区数- Returns:
- MaxSplitPartitions 若开启最大分裂,该主题能够能够允许的最大分区数
-
setMaxSplitPartitions
public void setMaxSplitPartitions(Long MaxSplitPartitions)
Set 若开启最大分裂,该主题能够能够允许的最大分区数- Parameters:
MaxSplitPartitions
- 若开启最大分裂,该主题能够能够允许的最大分区数
-
getPeriod
public Long getPeriod()
Get 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600。取值为3640时代表永久保存- Returns:
- Period 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600。取值为3640时代表永久保存
-
setPeriod
public void setPeriod(Long Period)
Set 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600。取值为3640时代表永久保存- Parameters:
Period
- 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600。取值为3640时代表永久保存
-
getDescribes
public String getDescribes()
Get 日志主题描述- Returns:
- Describes 日志主题描述
-
setDescribes
public void setDescribes(String Describes)
Set 日志主题描述- Parameters:
Describes
- 日志主题描述
-
getHotPeriod
public Long getHotPeriod()
Get 0:关闭日志沉降。 非0:开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period。仅在StorageType为 hot 时生效- Returns:
- HotPeriod 0:关闭日志沉降。 非0:开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period。仅在StorageType为 hot 时生效
-
setHotPeriod
public void setHotPeriod(Long HotPeriod)
Set 0:关闭日志沉降。 非0:开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period。仅在StorageType为 hot 时生效- Parameters:
HotPeriod
- 0:关闭日志沉降。 非0:开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period。仅在StorageType为 hot 时生效
-
getIsWebTracking
public Boolean getIsWebTracking()
Get webtracking开关; false: 关闭 true: 开启- Returns:
- IsWebTracking webtracking开关; false: 关闭 true: 开启
-
setIsWebTracking
public void setIsWebTracking(Boolean IsWebTracking)
Set webtracking开关; false: 关闭 true: 开启- Parameters:
IsWebTracking
- webtracking开关; false: 关闭 true: 开启
-
-