public class CreateTopicRequest extends Object
构造器和说明 |
---|
CreateTopicRequest() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
CheckValidation() |
Boolean |
getAutoSplit() |
String |
getDescription() |
Boolean |
getEnableTracking() |
Boolean |
getLogPublicIP() |
Integer |
getMaxSplitShard() |
String |
getProjectId() |
Integer |
getShardCount() |
List<TagInfo> |
getTags() |
String |
getTimeFormat() |
String |
getTimeKey() |
String |
getTopicName() |
Integer |
getTtl() |
void |
setAutoSplit(Boolean autoSplit) |
void |
setDescription(String description) |
void |
setEnableTracking(Boolean enableTracking) |
void |
setLogPublicIP(Boolean logPublicIP) |
void |
setMaxSplitShard(Integer maxSplitShard) |
void |
setProjectId(String projectId) |
void |
setShardCount(Integer shardCount) |
void |
setTags(List<TagInfo> tags) |
void |
setTimeFormat(String timeFormat) |
void |
setTimeKey(String timeKey) |
void |
setTopicName(String topicName) |
void |
setTtl(Integer ttl) |
public String getTopicName()
public void setTopicName(String topicName)
topicName
- 日志主题名称public String getProjectId()
public void setProjectId(String projectId)
projectId
- 日志主题所属的日志项目 IDpublic Integer getTtl()
public void setTtl(Integer ttl)
ttl
- 日志在日志服务中的保存时间,单位天。默认30天public String getDescription()
public void setDescription(String description)
description
- 日志主题描述public Integer getShardCount()
public void setShardCount(Integer shardCount)
shardCount
- 日志分区的数量,默认创建 1 个分区,取值范围为 1~10public Boolean getAutoSplit()
public void setAutoSplit(Boolean autoSplit)
autoSplit
- 是否开启分区的自动分裂功能,默认truepublic Integer getMaxSplitShard()
public void setMaxSplitShard(Integer maxSplitShard)
maxSplitShard
- 分区的最大分裂数public Boolean getEnableTracking()
public void setEnableTracking(Boolean enableTracking)
enableTracking
- 是否开启 WebTracking 功能,默认falsepublic String getTimeKey()
public void setTimeKey(String timeKey)
timeKey
- 日志时间字段的字段名称public String getTimeFormat()
public void setTimeFormat(String timeFormat)
timeFormat
- 时间字段的解析格式public Boolean getLogPublicIP()
public void setLogPublicIP(Boolean logPublicIP)
logPublicIP
- 是否开启记录外网IP功能public boolean CheckValidation()
Copyright © 2024. All rights reserved.