Class RoutingStrategy
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.gse.v20191112.models.RoutingStrategy
-
public class RoutingStrategy extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description RoutingStrategy()RoutingStrategy(RoutingStrategy 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 StringgetFleetId()Get 别名指向的队列的唯一标识符 注意:此字段可能返回 null,表示取不到有效值。StringgetMessage()Get 与终端路由策略一起使用的消息文本,长度不小于1字符不超过1024字符 注意:此字段可能返回 null,表示取不到有效值。StringgetType()Get 别名的路由策略的类型,有效值常规别名(SIMPLE)、终止别名(TERMINAL)voidsetFleetId(String FleetId)Set 别名指向的队列的唯一标识符 注意:此字段可能返回 null,表示取不到有效值。voidsetMessage(String Message)Set 与终端路由策略一起使用的消息文本,长度不小于1字符不超过1024字符 注意:此字段可能返回 null,表示取不到有效值。voidsetType(String Type)Set 别名的路由策略的类型,有效值常规别名(SIMPLE)、终止别名(TERMINAL)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
-
RoutingStrategy
public RoutingStrategy()
-
RoutingStrategy
public RoutingStrategy(RoutingStrategy 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
-
getType
public String getType()
Get 别名的路由策略的类型,有效值常规别名(SIMPLE)、终止别名(TERMINAL)- Returns:
- Type 别名的路由策略的类型,有效值常规别名(SIMPLE)、终止别名(TERMINAL)
-
setType
public void setType(String Type)
Set 别名的路由策略的类型,有效值常规别名(SIMPLE)、终止别名(TERMINAL)- Parameters:
Type- 别名的路由策略的类型,有效值常规别名(SIMPLE)、终止别名(TERMINAL)
-
getFleetId
public String getFleetId()
Get 别名指向的队列的唯一标识符 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- FleetId 别名指向的队列的唯一标识符 注意:此字段可能返回 null,表示取不到有效值。
-
setFleetId
public void setFleetId(String FleetId)
Set 别名指向的队列的唯一标识符 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
FleetId- 别名指向的队列的唯一标识符 注意:此字段可能返回 null,表示取不到有效值。
-
getMessage
public String getMessage()
Get 与终端路由策略一起使用的消息文本,长度不小于1字符不超过1024字符 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Message 与终端路由策略一起使用的消息文本,长度不小于1字符不超过1024字符 注意:此字段可能返回 null,表示取不到有效值。
-
setMessage
public void setMessage(String Message)
Set 与终端路由策略一起使用的消息文本,长度不小于1字符不超过1024字符 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Message- 与终端路由策略一起使用的消息文本,长度不小于1字符不超过1024字符 注意:此字段可能返回 null,表示取不到有效值。
-
-