public class CreateTopicRequest extends AbstractModel
header, skipSign
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 |
---|---|
Boolean |
getAutoSplit()
Get 是否开启自动分裂,默认值为true
|
String |
getDescribes()
Get 日志主题描述
|
TopicExtendInfo |
getExtends()
Get 日志主题扩展信息
|
Long |
getHotPeriod()
Get 0:关闭日志沉降。
非0:开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。
仅在StorageType为 hot 时生效。
|
Boolean |
getIsWebTracking()
Get 免鉴权开关。 false:关闭; true:开启。默认为false。
开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
|
String |
getLogsetId()
Get 日志集ID
|
Long |
getMaxSplitPartitions()
Get 开启自动分裂后,每个主题能够允许的最大分区数,默认值为50
|
Long |
getPartitionCount()
Get 日志主题分区个数。默认创建1个,最大支持创建10个分区。
|
Long |
getPeriod()
Get 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600天。取值为3640时代表永久保存。
不传此值,默认获取该日志主题对应日志集的Period值(当获取失败时默认为30天)。
|
String |
getStorageType()
Get 日志主题的存储类型,可选值 hot(标准存储),cold(低频存储);默认为hot。
|
Tag[] |
getTags()
Get 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
|
String |
getTopicName()
Get 日志主题名称
|
void |
setAutoSplit(Boolean AutoSplit)
Set 是否开启自动分裂,默认值为true
|
void |
setDescribes(String Describes)
Set 日志主题描述
|
void |
setExtends(TopicExtendInfo Extends)
Set 日志主题扩展信息
|
void |
setHotPeriod(Long HotPeriod)
Set 0:关闭日志沉降。
非0:开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。
仅在StorageType为 hot 时生效。
|
void |
setIsWebTracking(Boolean IsWebTracking)
Set 免鉴权开关。 false:关闭; true:开启。默认为false。
开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
|
void |
setLogsetId(String LogsetId)
Set 日志集ID
|
void |
setMaxSplitPartitions(Long MaxSplitPartitions)
Set 开启自动分裂后,每个主题能够允许的最大分区数,默认值为50
|
void |
setPartitionCount(Long PartitionCount)
Set 日志主题分区个数。默认创建1个,最大支持创建10个分区。
|
void |
setPeriod(Long Period)
Set 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600天。取值为3640时代表永久保存。
不传此值,默认获取该日志主题对应日志集的Period值(当获取失败时默认为30天)。
|
void |
setStorageType(String StorageType)
Set 日志主题的存储类型,可选值 hot(标准存储),cold(低频存储);默认为hot。
|
void |
setTags(Tag[] Tags)
Set 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
|
void |
setTopicName(String TopicName)
Set 日志主题名称
|
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, toJsonString
public CreateTopicRequest()
public CreateTopicRequest(CreateTopicRequest source)
public String getLogsetId()
public void setLogsetId(String LogsetId)
LogsetId
- 日志集IDpublic String getTopicName()
public void setTopicName(String TopicName)
TopicName
- 日志主题名称public Long getPartitionCount()
public void setPartitionCount(Long PartitionCount)
PartitionCount
- 日志主题分区个数。默认创建1个,最大支持创建10个分区。public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。public Boolean getAutoSplit()
public void setAutoSplit(Boolean AutoSplit)
AutoSplit
- 是否开启自动分裂,默认值为truepublic Long getMaxSplitPartitions()
public void setMaxSplitPartitions(Long MaxSplitPartitions)
MaxSplitPartitions
- 开启自动分裂后,每个主题能够允许的最大分区数,默认值为50public String getStorageType()
public void setStorageType(String StorageType)
StorageType
- 日志主题的存储类型,可选值 hot(标准存储),cold(低频存储);默认为hot。public Long getPeriod()
public void setPeriod(Long Period)
Period
- 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600天。取值为3640时代表永久保存。
不传此值,默认获取该日志主题对应日志集的Period值(当获取失败时默认为30天)。public String getDescribes()
public void setDescribes(String Describes)
Describes
- 日志主题描述public Long getHotPeriod()
public void setHotPeriod(Long HotPeriod)
HotPeriod
- 0:关闭日志沉降。
非0:开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。
仅在StorageType为 hot 时生效。public Boolean getIsWebTracking()
public void setIsWebTracking(Boolean IsWebTracking)
IsWebTracking
- 免鉴权开关。 false:关闭; true:开启。默认为false。
开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。public TopicExtendInfo getExtends()
public void setExtends(TopicExtendInfo Extends)
Extends
- 日志主题扩展信息Copyright © 2024. All rights reserved.