| 构造器和说明 |
|---|
PutLogsRequest(java.lang.String project,
java.lang.String logStore,
java.lang.String topic,
java.util.List<LogItem> logItems)
Construct a put log request
|
PutLogsRequest(java.lang.String project,
java.lang.String logStore,
java.lang.String topic,
java.lang.String source,
java.util.List<LogItem> logItems)
Construct a put log request
|
| 限定符和类型 | 方法和说明 |
|---|---|
Consts.CompressType |
GetCompressType() |
java.util.ArrayList<LogItem> |
GetLogItems()
Get all the log data
|
java.lang.String |
GetLogStore()
Get log store
|
java.lang.String |
GetSource()
Get log source
|
java.lang.String |
GetTopic()
Get the topic
|
void |
SetCompressType(Consts.CompressType compressType) |
void |
SetlogItems(java.util.List<LogItem> logItems)
Set the log data , shallow copy is used to set the log data
|
void |
SetLogStore(java.lang.String logStore)
Set log store
|
void |
SetSource(java.lang.String source)
Set log source
|
void |
SetTopic(java.lang.String topic)
Set topic value
|
GetAllParams, GetParam, GetProject, SetParampublic PutLogsRequest(java.lang.String project,
java.lang.String logStore,
java.lang.String topic,
java.lang.String source,
java.util.List<LogItem> logItems)
project - project namelogStore - log store name of the projecttopic - topic name of the log storesource - source of the loglogItems - log datapublic PutLogsRequest(java.lang.String project,
java.lang.String logStore,
java.lang.String topic,
java.util.List<LogItem> logItems)
project - project namelogStore - log store name of the projecttopic - topic name of the log storelogItems - log datapublic Consts.CompressType GetCompressType()
public void SetCompressType(Consts.CompressType compressType)
compressType - the compressType to setpublic java.lang.String GetLogStore()
public void SetLogStore(java.lang.String logStore)
logStore - log store namepublic java.lang.String GetTopic()
public void SetTopic(java.lang.String topic)
topic - topic valuepublic java.lang.String GetSource()
public void SetSource(java.lang.String source)
source - log sourcepublic java.util.ArrayList<LogItem> GetLogItems()
public void SetlogItems(java.util.List<LogItem> logItems)
logItems - log data