public class CreateExportRequest extends AbstractModel
Constructor and Description |
---|
CreateExportRequest() |
CreateExportRequest(CreateExportRequest 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 |
---|---|
Long |
getCount()
Get Number of logs to be exported.
|
String |
getFormat()
Get Exported log data format.
|
Long |
getFrom()
Get Start time of the log to be exported, which is a timestamp in milliseconds
|
String |
getOrder()
Get Exported log sorting order by time.
|
String |
getQuery()
Get Search statements for log export.
|
Long |
getTo()
Get End time of the log to be exported, which is a timestamp in milliseconds
|
String |
getTopicId()
Get Log topic ID
|
void |
setCount(Long Count)
Set Number of logs to be exported.
|
void |
setFormat(String Format)
Set Exported log data format.
|
void |
setFrom(Long From)
Set Start time of the log to be exported, which is a timestamp in milliseconds
|
void |
setOrder(String Order)
Set Exported log sorting order by time.
|
void |
setQuery(String Query)
Set Search statements for log export.
|
void |
setTo(Long To)
Set End time of the log to be exported, which is a 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 CreateExportRequest()
public CreateExportRequest(CreateExportRequest source)
public String getTopicId()
public void setTopicId(String TopicId)
TopicId
- Log topic IDpublic Long getCount()
public void setCount(Long Count)
Count
- Number of logs to be exported. Maximum value: 50 millionpublic String getQuery()
public void setQuery(String Query)
Query
- Search statements for log export. [SQL statements] are not supported.public Long getFrom()
public void setFrom(Long From)
From
- Start time of the log to be exported, which is a timestamp in millisecondspublic Long getTo()
public void setTo(Long To)
To
- End time of the log to be exported, which is a timestamp in millisecondspublic String getOrder()
public void setOrder(String Order)
Order
- Exported log sorting order by time. Valid values: `asc`: ascending; `desc`: descending. Default value: `desc`public String getFormat()
public void setFormat(String Format)
Format
- Exported log data format. Valid values: `json`, `csv`. Default value: `json`Copyright © 2023. All rights reserved.