public class CreateTopicRequest extends AbstractModel
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 |
---|---|
Long |
getPartitionCount()
Get 主题分区Partition的数量,不传参默认创建1个,最大创建允许10个,分裂/合并操作会改变分区数量,整体上限50个。
|
Long |
getPeriod()
Get 日志集的保存周期,单位:天,默认30天。
|
String |
getStorageType()
Get 日志主题的存储类型,可选值 HOT(标准存储),COLD(低频存储);默认为HOT。
|
String |
getTopicName()
Get 日志主题的名称。
|
String |
getTopicType()
Get 日志类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。
|
void |
setPartitionCount(Long PartitionCount)
Set 主题分区Partition的数量,不传参默认创建1个,最大创建允许10个,分裂/合并操作会改变分区数量,整体上限50个。
|
void |
setPeriod(Long Period)
Set 日志集的保存周期,单位:天,默认30天。
|
void |
setStorageType(String StorageType)
Set 日志主题的存储类型,可选值 HOT(标准存储),COLD(低频存储);默认为HOT。
|
void |
setTopicName(String TopicName)
Set 日志主题的名称。
|
void |
setTopicType(String TopicType)
Set 日志类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateTopicRequest()
public CreateTopicRequest(CreateTopicRequest source)
public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- 日志主题的名称。public Long getPartitionCount()
public void setPartitionCount(Long PartitionCount)
PartitionCount
- 主题分区Partition的数量,不传参默认创建1个,最大创建允许10个,分裂/合并操作会改变分区数量,整体上限50个。public String getTopicType()
public void setTopicType(String TopicType)
TopicType
- 日志类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。public Long getPeriod()
public void setPeriod(Long Period)
Period
- 日志集的保存周期,单位:天,默认30天。public String getStorageType()
public void setStorageType(String StorageType)
StorageType
- 日志主题的存储类型,可选值 HOT(标准存储),COLD(低频存储);默认为HOT。Copyright © 2023. All rights reserved.