public class InvokeFunctionRequest extends AbstractModel
Constructor and Description |
---|
InvokeFunctionRequest() |
InvokeFunctionRequest(InvokeFunctionRequest 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 |
getEvent()
Get Function running parameter, which is in the JSON format.
|
String |
getFunctionName()
Get Function name
|
String |
getLogType()
Get Valid value: `None` (default) or `Tail`.
|
String |
getNamespace()
Get Namespace.
|
String |
getQualifier()
Get Version or alias of the function.
|
String |
getRoutingKey()
Get Traffic routing config in json format, e.g., {"k":"v"}.
|
void |
setEvent(String Event)
Set Function running parameter, which is in the JSON format.
|
void |
setFunctionName(String FunctionName)
Set Function name
|
void |
setLogType(String LogType)
Set Valid value: `None` (default) or `Tail`.
|
void |
setNamespace(String Namespace)
Set Namespace.
|
void |
setQualifier(String Qualifier)
Set Version or alias of the function.
|
void |
setRoutingKey(String RoutingKey)
Set Traffic routing config in json format, e.g., {"k":"v"}.
|
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 InvokeFunctionRequest()
public InvokeFunctionRequest(InvokeFunctionRequest source)
public String getFunctionName()
public void setFunctionName(String FunctionName)
FunctionName
- Function namepublic String getQualifier()
public void setQualifier(String Qualifier)
Qualifier
- Version or alias of the function. It defaults to `$DEFAULT`.public String getEvent()
public void setEvent(String Event)
Event
- Function running parameter, which is in the JSON format. Maximum parameter size is 6 MB. This field corresponds to [event input parameter](https://intl.cloud.tencent.com/document/product/583/9210?from_cn_redirect=1#.E5.87.BD.E6.95.B0.E5.85.A5.E5.8F.82.3Ca-id.3D.22input.22.3E.3C.2Fa.3E).public String getLogType()
public void setLogType(String LogType)
LogType
- Valid value: `None` (default) or `Tail`. If the value is `Tail`, `log` in the response will contain the corresponding function execution log (up to 4KB).public String getNamespace()
public void setNamespace(String Namespace)
Namespace
- Namespace. `default` is used if it’s left empty.public String getRoutingKey()
public void setRoutingKey(String RoutingKey)
RoutingKey
- Traffic routing config in json format, e.g., {"k":"v"}. Please note that both "k" and "v" must be strings. Up to 1024 bytes allowed.Copyright © 2023. All rights reserved.