public class AsyncSearchTask extends AbstractModel
Constructor and Description |
---|
AsyncSearchTask() |
AsyncSearchTask(AsyncSearchTask source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAsyncSearchTaskId()
Get Offline search task ID
|
String |
getCreateTime()
Get Creation time
|
String |
getErrorMessage()
Get Error message of task failure
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getFinishTime()
Get Task completion time
Note: this field may return `null`, indicating that no valid values can be obtained.
|
Long |
getFrom()
Get Start time of the log to be queried, which is a Unix timestamp in milliseconds
|
Long |
getLogCount()
Get Total number of logs matched in offline search task
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getLogsetId()
Get Logset ID
|
String |
getQuery()
Get Query statement
|
String |
getSort()
Get Log scan order.
|
Long |
getStatus()
Get Status.
|
Long |
getTo()
Get End time of the log to be queried, which is a Unix timestamp in milliseconds
|
String |
getTopicId()
Get Log topic ID
|
void |
setAsyncSearchTaskId(String AsyncSearchTaskId)
Set Offline search task ID
|
void |
setCreateTime(String CreateTime)
Set Creation time
|
void |
setErrorMessage(String ErrorMessage)
Set Error message of task failure
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setFinishTime(String FinishTime)
Set Task completion time
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setFrom(Long From)
Set Start time of the log to be queried, which is a Unix timestamp in milliseconds
|
void |
setLogCount(Long LogCount)
Set Total number of logs matched in offline search task
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setLogsetId(String LogsetId)
Set Logset ID
|
void |
setQuery(String Query)
Set Query statement
|
void |
setSort(String Sort)
Set Log scan order.
|
void |
setStatus(Long Status)
Set Status.
|
void |
setTo(Long To)
Set End time of the log to be queried, which is a Unix timestamp in milliseconds
|
void |
setTopicId(String TopicId)
Set Log topic ID
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public AsyncSearchTask()
public AsyncSearchTask(AsyncSearchTask source)
public String getLogsetId()
public void setLogsetId(String LogsetId)
LogsetId
- Logset IDpublic String getTopicId()
public void setTopicId(String TopicId)
TopicId
- Log topic IDpublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation timepublic Long getStatus()
public void setStatus(Long Status)
Status
- Status. Valid values: `0`: to be started; `1`: running; `2`: completed; `-1`: failedpublic String getAsyncSearchTaskId()
public void setAsyncSearchTaskId(String AsyncSearchTaskId)
AsyncSearchTaskId
- Offline search task IDpublic String getQuery()
public void setQuery(String Query)
Query
- Query statementpublic Long getFrom()
public void setFrom(Long From)
From
- Start time of the log to be queried, which is a Unix timestamp in millisecondspublic Long getTo()
public void setTo(Long To)
To
- End time of the log to be queried, which is a Unix timestamp in millisecondspublic String getSort()
public void setSort(String Sort)
Sort
- Log scan order. Valid values: `asc`: ascending; `desc`: descendingpublic String getErrorMessage()
public void setErrorMessage(String ErrorMessage)
ErrorMessage
- Error message of task failure
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getLogCount()
public void setLogCount(Long LogCount)
LogCount
- Total number of logs matched in offline search task
Note: this field may return `null`, indicating that no valid values can be obtained.public String getFinishTime()
public void setFinishTime(String FinishTime)
FinishTime
- Task completion time
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2021. All rights reserved.