public class PutLogsRequest extends SlsRequest
构造器和说明 |
---|
PutLogsRequest(String project,
String logStore,
String topic,
List<LogItem> logItems)
Construct a put log request
|
PutLogsRequest(String project,
String logStore,
String topic,
String source,
List<LogItem> logItems)
Construct a put log request
|
限定符和类型 | 方法和说明 |
---|---|
ArrayList<LogItem> |
GetLogItems()
Get all the log data
|
String |
GetLogStore()
Get log store
|
String |
GetSource()
Get log source
|
String |
GetTopic()
Get the topic
|
void |
SetlogItems(List<LogItem> logItems)
Set the log data , shallow copy is used to set the log data
|
void |
SetLogStore(String logStore)
Set log store
|
void |
SetSource(String source)
Set log source
|
void |
SetTopic(String topic)
Set topic value
|
GetAllParams, GetParam, GetProject, SetParam
public PutLogsRequest(String project, String logStore, String topic, String source, List<LogItem> logItems)
project
- project namelogStore
- log store name of the projecttopic
- topic name of the log storesource
- source of the loglogItems
- log datapublic String GetLogStore()
public void SetLogStore(String logStore)
logStore
- log store namepublic String GetTopic()
public void SetTopic(String topic)
topic
- topic valuepublic String GetSource()
public void SetSource(String source)
source
- log sourceCopyright © 2015. All Rights Reserved.