public static final class ExecuteScriptRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ExecuteScriptRequest |
build() |
ExecuteScriptRequest.Builder |
dbId(Integer dbId)
The ID of the database.
|
ExecuteScriptRequest.Builder |
logic(Boolean logic)
Specifies whether the database is a logical database.
|
ExecuteScriptRequest.Builder |
regionId(String regionId)
RegionId.
|
ExecuteScriptRequest.Builder |
script(String script)
The SQL statements to be executed.
|
ExecuteScriptRequest.Builder |
tid(Long tid)
The ID of the tenant.
|
public ExecuteScriptRequest.Builder regionId(String regionId)
public ExecuteScriptRequest.Builder dbId(Integer dbId)
> This parameter is equivalent to the DatabaseId parameter in the SearchDatabase, ListDatabases, and GetDatabase operations. You can call one of these operations to obtain the required database ID. For more information, see [SearchDatabase](~~141876~~), [ListDatabases](~~141873~~), and [GetDatabase](~~141869~~).
public ExecuteScriptRequest.Builder logic(Boolean logic)
public ExecuteScriptRequest.Builder script(String script)
public ExecuteScriptRequest.Builder tid(Long tid)
> To obtain the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see [Tenant information](~~181330~~).
public ExecuteScriptRequest build()
Copyright © 2023. All rights reserved.