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 If this field is specified for a synchronous invocation, the return value will contain a 4 KB log.
|
String |
getNamespace()
Get Namespace
|
String |
getQualifier()
Get Version number or alias of the triggered 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 If this field is specified for a synchronous invocation, the return value will contain a 4 KB log.
|
void |
setNamespace(String Namespace)
Set Namespace
|
void |
setQualifier(String Qualifier)
Set Version number or alias of the triggered 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 number or alias of the triggered functionpublic String getEvent()
public void setEvent(String Event)
Event
- Function running parameter, which is in the JSON format. Maximum parameter size is 1 MB.public String getLogType()
public void setLogType(String LogType)
LogType
- If this field is specified for a synchronous invocation, the return value will contain a 4 KB log. Valid value: `None` (default) or `Tail`. If the value is `Tail`, `log` in the return parameter will contain the corresponding function execution log.public String getNamespace()
public void setNamespace(String Namespace)
Namespace
- Namespacepublic 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 © 2021. All rights reserved.