Serializablepublic class ListTopicsRequest extends Request
| 构造器 | 说明 |
|---|---|
ListTopicsRequest(String project,
String logStore) |
Construct a request
|
ListTopicsRequest(String project,
String logStore,
String token,
int line) |
Construct a request
|
| 修饰符和类型 | 方法 | 说明 |
|---|---|---|
int |
GetLine() |
Get request line
|
String |
GetLogStore() |
Get log store name
|
String |
GetToken() |
Get request token
|
void |
SetLine(int line) |
Set request line
|
void |
SetLogStore(String logStore) |
Set log store
|
void |
SetToken(String token) |
Set request token
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitGetAllParams, GetParam, GetProject, SetParampublic String mLogStore
public ListTopicsRequest(String project, String logStore)
project - project namelogStore - log store of the projectpublic ListTopicsRequest(String project, String logStore, String token, int line)
project - project namelogStore - log store of the projecttoken - the start topic tokenline - how many topics to get, the max topic count is decided by
the sls backend serverpublic void SetLogStore(String logStore)
logStore - log store namepublic String GetLogStore()
public void SetToken(String token)
token - topic tokenpublic String GetToken()
public void SetLine(int line)
line - request linepublic int GetLine()
Copyright © 2018. All Rights Reserved.