public class ListTopicsRequest extends SlsRequest
构造器和说明 |
---|
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
|
GetAllParams, GetParam, GetProject, SetParam
public 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 © 2015. All Rights Reserved.