public class GetFunctionLogsRequest extends AbstractModel
Constructor and Description |
---|
GetFunctionLogsRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getEndTime()
Get Query date, for example, 2017-05-16 20:59:59.
|
LogFilter |
getFilter()
Get Log filter used to identify whether to return logs of successful or failed requests.
|
String |
getFunctionName()
Get Function name
|
String |
getFunctionRequestId()
Get RequestId corresponding to the executed function
|
Long |
getLimit()
Get Length of the return data.
|
String |
getNamespace()
Get Function namespace
|
Long |
getOffset()
Get Data offset.
|
String |
getOrder()
Get It specifies whether to sort the logs in an ascending or descending order.
|
String |
getOrderBy()
Get It specifies the sorting order of the logs based on a specified field, such as `function_name`, `duration`, `mem_usage`, and `start_time`.
|
String |
getQualifier()
Get Function version
|
LogSearchContext |
getSearchContext()
Get Service log related parameter.
|
String |
getStartTime()
Get Query date, for example, 2017-05-16 20:00:00.
|
void |
setEndTime(String EndTime)
Set Query date, for example, 2017-05-16 20:59:59.
|
void |
setFilter(LogFilter Filter)
Set Log filter used to identify whether to return logs of successful or failed requests.
|
void |
setFunctionName(String FunctionName)
Set Function name
|
void |
setFunctionRequestId(String FunctionRequestId)
Set RequestId corresponding to the executed function
|
void |
setLimit(Long Limit)
Set Length of the return data.
|
void |
setNamespace(String Namespace)
Set Function namespace
|
void |
setOffset(Long Offset)
Set Data offset.
|
void |
setOrder(String Order)
Set It specifies whether to sort the logs in an ascending or descending order.
|
void |
setOrderBy(String OrderBy)
Set It specifies the sorting order of the logs based on a specified field, such as `function_name`, `duration`, `mem_usage`, and `start_time`.
|
void |
setQualifier(String Qualifier)
Set Function version
|
void |
setSearchContext(LogSearchContext SearchContext)
Set Service log related parameter.
|
void |
setStartTime(String StartTime)
Set Query date, for example, 2017-05-16 20:00:00.
|
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 String getFunctionName()
public void setFunctionName(String FunctionName)
FunctionName
- Function namepublic Long getOffset()
public void setOffset(Long Offset)
Offset
- Data offset. The addition of `Offset` and `Limit` cannot exceed 10,000.public Long getLimit()
public void setLimit(Long Limit)
Limit
- Length of the return data. The addition of `Offset` and `Limit` cannot exceed 10,000.public String getOrder()
public void setOrder(String Order)
Order
- It specifies whether to sort the logs in an ascending or descending order. The value is `desc` or `asc`.public String getOrderBy()
public void setOrderBy(String OrderBy)
OrderBy
- It specifies the sorting order of the logs based on a specified field, such as `function_name`, `duration`, `mem_usage`, and `start_time`.public LogFilter getFilter()
public void setFilter(LogFilter Filter)
Filter
- Log filter used to identify whether to return logs of successful or failed requests. `filter.RetCode=not0` indicates that only the logs of failed requests will be returned. `filter.RetCode=is0` indicates that only the logs of successful requests will be returned. If this parameter is left blank, all logs will be returned.public String getNamespace()
public void setNamespace(String Namespace)
Namespace
- Function namespacepublic String getQualifier()
public void setQualifier(String Qualifier)
Qualifier
- Function versionpublic String getFunctionRequestId()
public void setFunctionRequestId(String FunctionRequestId)
FunctionRequestId
- RequestId corresponding to the executed functionpublic String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Query date, for example, 2017-05-16 20:00:00. The date must be within one day of the end time.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Query date, for example, 2017-05-16 20:59:59. The date must be within one day of the start time.public LogSearchContext getSearchContext()
public void setSearchContext(LogSearchContext SearchContext)
SearchContext
- Service log related parameter. `Offset` on the first page is a null string. Enter other pages based on SearchContext in the response field.Copyright © 2020. All rights reserved.