public static final class ValidateShardTaskRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ValidateShardTaskRequest |
build() |
ValidateShardTaskRequest.Builder |
dbName(String dbName)
The name of the database.
|
ValidateShardTaskRequest.Builder |
drdsInstanceId(String drdsInstanceId)
The ID of the PolarDB-X 1.0 instance.
|
ValidateShardTaskRequest.Builder |
regionId(String regionId)
The ID of the region where the PolarDB-X 1.0 instance is created.
|
ValidateShardTaskRequest.Builder |
sourceTableName(String sourceTableName)
The name of the table or table shard on which you want to perform the task.
|
ValidateShardTaskRequest.Builder |
targetTableName(String targetTableName)
The name of the table or table shard on which you perform the task.
|
ValidateShardTaskRequest.Builder |
taskType(String taskType)
The type of the task.
|
public ValidateShardTaskRequest.Builder dbName(String dbName)
public ValidateShardTaskRequest.Builder drdsInstanceId(String drdsInstanceId)
public ValidateShardTaskRequest.Builder regionId(String regionId)
public ValidateShardTaskRequest.Builder sourceTableName(String sourceTableName)
public ValidateShardTaskRequest.Builder targetTableName(String targetTableName)
public ValidateShardTaskRequest.Builder taskType(String taskType)
* **SINGLE_TO_SHARD**: converts a single table to a table shard. * **SHARD_TO_SINGLE**: converts a table shard to a single table. * **SHARD_TO_SHARD**: converts a table shard to another table shard.
public ValidateShardTaskRequest build()
Copyright © 2024. All rights reserved.