Class VersionMatch
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.scf.v20180416.models.VersionMatch
-
public class VersionMatch extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description VersionMatch()VersionMatch(VersionMatch 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExpression()Get range 匹配规则要求: 需要为开区间或闭区间描述 (a,b) [a,b],其中 a、b 均为整数 exact 匹配规则要求: 字符串精确匹配StringgetKey()Get 匹配规则的key,调用时通过传key来匹配规则路由到指定版本 header方式: key填写"invoke.headers.User",并在 invoke 调用函数时传参 RoutingKey:{"User":"value"}规则匹配调用StringgetMethod()Get 匹配方式。取值范围: range:范围匹配 exact:字符串精确匹配StringgetVersion()Get 函数版本名称voidsetExpression(String Expression)Set range 匹配规则要求: 需要为开区间或闭区间描述 (a,b) [a,b],其中 a、b 均为整数 exact 匹配规则要求: 字符串精确匹配voidsetKey(String Key)Set 匹配规则的key,调用时通过传key来匹配规则路由到指定版本 header方式: key填写"invoke.headers.User",并在 invoke 调用函数时传参 RoutingKey:{"User":"value"}规则匹配调用voidsetMethod(String Method)Set 匹配方式。取值范围: range:范围匹配 exact:字符串精确匹配voidsetVersion(String Version)Set 函数版本名称voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
VersionMatch
public VersionMatch()
-
VersionMatch
public VersionMatch(VersionMatch 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.
-
-
Method Detail
-
getVersion
public String getVersion()
Get 函数版本名称- Returns:
- Version 函数版本名称
-
setVersion
public void setVersion(String Version)
Set 函数版本名称- Parameters:
Version- 函数版本名称
-
getKey
public String getKey()
Get 匹配规则的key,调用时通过传key来匹配规则路由到指定版本 header方式: key填写"invoke.headers.User",并在 invoke 调用函数时传参 RoutingKey:{"User":"value"}规则匹配调用- Returns:
- Key 匹配规则的key,调用时通过传key来匹配规则路由到指定版本 header方式: key填写"invoke.headers.User",并在 invoke 调用函数时传参 RoutingKey:{"User":"value"}规则匹配调用
-
setKey
public void setKey(String Key)
Set 匹配规则的key,调用时通过传key来匹配规则路由到指定版本 header方式: key填写"invoke.headers.User",并在 invoke 调用函数时传参 RoutingKey:{"User":"value"}规则匹配调用- Parameters:
Key- 匹配规则的key,调用时通过传key来匹配规则路由到指定版本 header方式: key填写"invoke.headers.User",并在 invoke 调用函数时传参 RoutingKey:{"User":"value"}规则匹配调用
-
getMethod
public String getMethod()
Get 匹配方式。取值范围: range:范围匹配 exact:字符串精确匹配- Returns:
- Method 匹配方式。取值范围: range:范围匹配 exact:字符串精确匹配
-
setMethod
public void setMethod(String Method)
Set 匹配方式。取值范围: range:范围匹配 exact:字符串精确匹配- Parameters:
Method- 匹配方式。取值范围: range:范围匹配 exact:字符串精确匹配
-
getExpression
public String getExpression()
Get range 匹配规则要求: 需要为开区间或闭区间描述 (a,b) [a,b],其中 a、b 均为整数 exact 匹配规则要求: 字符串精确匹配- Returns:
- Expression range 匹配规则要求: 需要为开区间或闭区间描述 (a,b) [a,b],其中 a、b 均为整数 exact 匹配规则要求: 字符串精确匹配
-
setExpression
public void setExpression(String Expression)
Set range 匹配规则要求: 需要为开区间或闭区间描述 (a,b) [a,b],其中 a、b 均为整数 exact 匹配规则要求: 字符串精确匹配- Parameters:
Expression- range 匹配规则要求: 需要为开区间或闭区间描述 (a,b) [a,b],其中 a、b 均为整数 exact 匹配规则要求: 字符串精确匹配
-
-