public class PullLogsRequest extends Request
| 构造器和说明 |
|---|
PullLogsRequest(String project,
String logStore,
int shardId,
int count,
String cursor)
Construct a get cursor request
|
PullLogsRequest(String project,
String logStore,
int shardId,
int count,
String cursor,
String endCursor)
Construct a PullLogsRequest
|
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,String> |
GetAllParams()
Get all the parameter in the request
|
int |
getCount() |
String |
getCursor() |
String |
getEndCursor() |
String |
getLogStore() |
int |
getShardId() |
void |
setCount(int count) |
void |
setCursor(String cursor) |
void |
setEndCursor(String endCursor) |
void |
setLogStore(String logStore) |
void |
setShardId(int shardId) |
GetParam, GetProject, SetParampublic PullLogsRequest(String project, String logStore, int shardId, int count, String cursor)
project - project namelogStore - log stream nameshardId - shard idcursor - current cursorcount - LogGroup numberpublic PullLogsRequest(String project, String logStore, int shardId, int count, String cursor, String endCursor)
project - project namelogStore - log store nameshardId - shard idcursor - current cursorcount - LogGroup numberendCursor - the end cursorpublic String getLogStore()
public void setLogStore(String logStore)
public int getShardId()
public void setShardId(int shardId)
public int getCount()
public void setCount(int count)
public String getCursor()
public void setCursor(String cursor)
public String getEndCursor()
public void setEndCursor(String endCursor)
Copyright © 2020. All Rights Reserved.