public class InvokeRequest extends AbstractModel
Constructor and Description |
---|
InvokeRequest() |
InvokeRequest(InvokeRequest 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 |
getClientContext()
Get Function running parameter, which is in the JSON format.
|
String |
getFunctionName()
Get Function name
|
String |
getInvocationType()
Get The value is `RequestResponse` (synchronous) or `Event` (asynchronous).
|
String |
getLogType()
Get If this field is specified during sync invocation, the returned value will contain 4 KB of logs.
|
String |
getNamespace()
Get Namespace
|
String |
getQualifier()
Get Version number or name of the triggered function
|
String |
getRoutingKey()
Get Traffic routing config in json format, e.g., {"k":"v"}.
|
void |
setClientContext(String ClientContext)
Set Function running parameter, which is in the JSON format.
|
void |
setFunctionName(String FunctionName)
Set Function name
|
void |
setInvocationType(String InvocationType)
Set The value is `RequestResponse` (synchronous) or `Event` (asynchronous).
|
void |
setLogType(String LogType)
Set If this field is specified during sync invocation, the returned value will contain 4 KB of logs.
|
void |
setNamespace(String Namespace)
Set Namespace
|
void |
setQualifier(String Qualifier)
Set Version number or name 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 InvokeRequest()
public InvokeRequest(InvokeRequest source)
public String getFunctionName()
public void setFunctionName(String FunctionName)
FunctionName
- Function namepublic String getInvocationType()
public void setInvocationType(String InvocationType)
InvocationType
- The value is `RequestResponse` (synchronous) or `Event` (asynchronous). The default value is synchronous.public String getQualifier()
public void setQualifier(String Qualifier)
Qualifier
- Version number or name of the triggered functionpublic String getClientContext()
public void setClientContext(String ClientContext)
ClientContext
- 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 during sync invocation, the returned value will contain 4 KB of logs. Valid values: None, Tail. Default value: None. If the value is `Tail`, the `Log` field in the returned parameter will contain the corresponding function execution logpublic 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.