public static final class UpdateDIProjectConfigRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateDIProjectConfigRequest |
build() |
UpdateDIProjectConfigRequest.Builder |
destinationType(String destinationType)
The type of the destinations of the synchronization solutions.
|
UpdateDIProjectConfigRequest.Builder |
projectConfig(String projectConfig)
The new default global configuration of synchronization solutions.
|
UpdateDIProjectConfigRequest.Builder |
projectId(Long projectId)
The ID of the DataWorks workspace.
|
UpdateDIProjectConfigRequest.Builder |
regionId(String regionId)
RegionId.
|
UpdateDIProjectConfigRequest.Builder |
sourceType(String sourceType)
The type of the sources of the synchronization solutions.
|
public UpdateDIProjectConfigRequest.Builder regionId(String regionId)
public UpdateDIProjectConfigRequest.Builder destinationType(String destinationType)
Valid values: analyticdb_for_mysql, odps, elasticsearch, holo, mysql, and polardb.
public UpdateDIProjectConfigRequest.Builder projectConfig(String projectConfig)
{"RENAMECOLUMN":"WARNING","DROPTABLE":"WARNING","CREATETABLE":"WARNING","MODIFYCOLUMN":"WARNING","TRUNCATETABLE":"WARNING","DROPCOLUMN":"WARNING","ADDCOLUMN":"WARNING","RENAMETABLE":"WARNING"} Field description: * RENAMECOLUMN: renames a column. * DROPTABLE: deletes a table. * CREATETABLE: creates a table. * MODIFYCOLUMN: changes the data type of a column. * TRUNCATETABLE: clears a table. * DROPCOLUMN: deletes a column. * ADDCOLUMN: creates a column. * RENAMETABLE: renames a table. DataWorks processes a DDL message of a specific type based on the following rules: * WARNING: ignores the message and records an alert in real-time synchronization logs. The alert contains information about the situation that the message is ignored because of an execution error. * IGNORE: discards the message and does not send it to the destination. * CRITICAL: terminates the real-time synchronization node and sets the node status to Failed. * NORMAL: sends the message to the destination to process the message. Each destination processes DDL messages based on its own business logic. If DataWorks adopts the NORMAL policy, DataWorks only forwards DDL messages.
public UpdateDIProjectConfigRequest.Builder projectId(Long projectId)
public UpdateDIProjectConfigRequest.Builder sourceType(String sourceType)
Valid values: oracle, mysql, polardb, datahub, drds, and analyticdb_for_mysql. If you do not configure this parameter, DataWorks applies the default global configuration to all sources.
public UpdateDIProjectConfigRequest build()
Copyright © 2023. All rights reserved.