public class Result extends AbstractModel
| Constructor and Description | 
|---|
| Result() | 
| Result(Result 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 It indicates the billing duration (in milliseconds) for the function. | 
| Float | getDuration()Get It indicates the duration (in milliseconds) required for running the function. | 
| String | getErrMsg()Get It indicates the error message of the executed function. | 
| String | getFunctionRequestId()Get ID of the executed function | 
| Long | getInvokeResult()Get `0` indicates successful execution. | 
| String | getLog()Get It indicates the log output during the function execution. | 
| Long | getMemUsage()Get It indicates the memory size (in bytes) when the function is running. | 
| String | getRetMsg()Get It indicates the response from the executed function. | 
| void | setBillDuration(Long BillDuration)Set It indicates the billing duration (in milliseconds) for the function. | 
| void | setDuration(Float Duration)Set It indicates the duration (in milliseconds) required for running the function. | 
| void | setErrMsg(String ErrMsg)Set It indicates the error message of the executed function. | 
| void | setFunctionRequestId(String FunctionRequestId)Set ID of the executed function | 
| void | setInvokeResult(Long InvokeResult)Set `0` indicates successful execution. | 
| void | setLog(String Log)Set It indicates the log output during the function execution. | 
| void | setMemUsage(Long MemUsage)Set It indicates the memory size (in bytes) when the function is running. | 
| void | setRetMsg(String RetMsg)Set It indicates the response from the executed function. | 
| 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 Result()
public Result(Result source)
public String getLog()
public void setLog(String Log)
Log - It indicates the log output during the function execution. Null is returned for asynchronous invocations.public String getRetMsg()
public void setRetMsg(String RetMsg)
RetMsg - It indicates the response from the executed function. Null is returned for asynchronous invocations.public String getErrMsg()
public void setErrMsg(String ErrMsg)
ErrMsg - It indicates the error message of the executed function. Null is returned for asynchronous invocations.public Long getMemUsage()
public void setMemUsage(Long MemUsage)
MemUsage - It indicates the memory size (in bytes) when the function is running. Null is returned for asynchronous invocations.public Float getDuration()
public void setDuration(Float Duration)
Duration - It indicates the duration (in milliseconds) required for running the function. Null is returned for asynchronous invocations.public Long getBillDuration()
public void setBillDuration(Long BillDuration)
BillDuration - It indicates the billing duration (in milliseconds) for the function. Null is returned for asynchronous invocations.public String getFunctionRequestId()
public void setFunctionRequestId(String FunctionRequestId)
FunctionRequestId - ID of the executed functionpublic Long getInvokeResult()
public void setInvokeResult(Long InvokeResult)
InvokeResult - `0` indicates successful execution. Null is returned for asynchronous invocations.Copyright © 2021. All rights reserved.