public class FunctionLog extends AbstractModel
| Constructor and Description | 
|---|
| FunctionLog() | 
| FunctionLog(FunctionLog 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 | getBillDuration()Get Function billing duration. | 
| Float | getDuration()Get Duration of the function execution. | 
| String | getFunctionName()Get Function name | 
| Long | getInvokeFinished()Get It specifies whether the function invocation is finished. | 
| String | getLevel()Get Log level | 
| String | getLog()Get Function execution logs | 
| Long | getMemUsage()Get Actual memory size used during the function execution. | 
| String | getRequestId()Get RequestId corresponding to the executed function | 
| Long | getRetCode()Get Function execution result. | 
| String | getRetMsg()Get Return value after the function is executed | 
| Long | getRetryNum()Get Number of retries | 
| String | getSource()Get Log source | 
| String | getStartTime()Get Start time of the function execution | 
| void | setBillDuration(Long BillDuration)Set Function billing duration. | 
| void | setDuration(Float Duration)Set Duration of the function execution. | 
| void | setFunctionName(String FunctionName)Set Function name | 
| void | setInvokeFinished(Long InvokeFinished)Set It specifies whether the function invocation is finished. | 
| void | setLevel(String Level)Set Log level | 
| void | setLog(String Log)Set Function execution logs | 
| void | setMemUsage(Long MemUsage)Set Actual memory size used during the function execution. | 
| void | setRequestId(String RequestId)Set RequestId corresponding to the executed function | 
| void | setRetCode(Long RetCode)Set Function execution result. | 
| void | setRetMsg(String RetMsg)Set Return value after the function is executed | 
| void | setRetryNum(Long RetryNum)Set Number of retries | 
| void | setSource(String Source)Set Log source | 
| void | setStartTime(String StartTime)Set Start time of the function execution | 
| 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, toJsonStringpublic FunctionLog()
public FunctionLog(FunctionLog source)
public String getFunctionName()
public void setFunctionName(String FunctionName)
FunctionName - Function namepublic String getRetMsg()
public void setRetMsg(String RetMsg)
RetMsg - Return value after the function is executedpublic String getRequestId()
public void setRequestId(String RequestId)
RequestId - RequestId corresponding to the executed functionpublic String getStartTime()
public void setStartTime(String StartTime)
StartTime - Start time of the function executionpublic Long getRetCode()
public void setRetCode(Long RetCode)
RetCode - Function execution result. `0` indicates successful execution and other values indicate failure.public Long getInvokeFinished()
public void setInvokeFinished(Long InvokeFinished)
InvokeFinished - It specifies whether the function invocation is finished. `1` indicates execution completion and other values indicate that exceptions occurred during the invocation.public Float getDuration()
public void setDuration(Float Duration)
Duration - Duration of the function execution. The unit is millisecond (ms).public Long getBillDuration()
public void setBillDuration(Long BillDuration)
BillDuration - Function billing duration. The unit is millisecond (ms). The value is rounded up to a multiple of 100 ms.public Long getMemUsage()
public void setMemUsage(Long MemUsage)
MemUsage - Actual memory size used during the function execution. The unit is byte.public String getLog()
public void setLog(String Log)
Log - Function execution logspublic String getLevel()
public void setLevel(String Level)
Level - Log levelpublic String getSource()
public void setSource(String Source)
Source - Log sourcepublic Long getRetryNum()
public void setRetryNum(Long RetryNum)
RetryNum - Number of retriesCopyright © 2022. All rights reserved.