public class AddLogicTableRouteConfigRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
routeExpr
The routing algorithm expression.
|
String |
routeKey
The unique key of the routing algorithm.
|
Long |
tableId
The ID of the logical table.
|
Long |
tid
The ID of the tenant.
|
| 构造器和说明 |
|---|
AddLogicTableRouteConfigRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static AddLogicTableRouteConfigRequest |
build(Map<String,?> map) |
String |
getRouteExpr() |
String |
getRouteKey() |
Long |
getTableId() |
Long |
getTid() |
AddLogicTableRouteConfigRequest |
setRouteExpr(String routeExpr) |
AddLogicTableRouteConfigRequest |
setRouteKey(String routeKey) |
AddLogicTableRouteConfigRequest |
setTableId(Long tableId) |
AddLogicTableRouteConfigRequest |
setTid(Long tid) |
@NameInMap(value="RouteExpr") public String routeExpr
The routing algorithm expression. For more information about how to configure a routing algorithm expression, see Configure a routing algorithm.
This parameter is required.
example:#id#%16
@NameInMap(value="RouteKey") public String routeKey
The unique key of the routing algorithm.
- You can create a custom unique key for the routing algorithm. No requirements are imposed on custom unique keys.
- The unique key of the routing algorithm in the same logical table must be unique.
This parameter is required.
example:id-hash-mod16
@NameInMap(value="TableId") public Long tableId
The ID of the logical table. You can call the ListLogicTables operation to query the ID of the logical table.
This parameter is required.
example:4****
@NameInMap(value="Tid") public Long tid
The ID of the tenant. You can call the GetUserActiveTenant operation to query the tenant ID.
example:4***
public static AddLogicTableRouteConfigRequest build(Map<String,?> map) throws Exception
Exceptionpublic AddLogicTableRouteConfigRequest setRouteExpr(String routeExpr)
public String getRouteExpr()
public AddLogicTableRouteConfigRequest setRouteKey(String routeKey)
public String getRouteKey()
public AddLogicTableRouteConfigRequest setTableId(Long tableId)
public Long getTableId()
public AddLogicTableRouteConfigRequest setTid(Long tid)
public Long getTid()
Copyright © 2025. All rights reserved.