All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dts20200101.models.ModifyDtsJobAdvanceRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dts20200101.models;

import com.aliyun.tea.*;

public class ModifyDtsJobAdvanceRequest extends TeaModel {
    /**
     * 

The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The **ClientToken** parameter can contain only ASCII characters and cannot exceed 64 characters in length.

*/ @NameInMap("ClientToken") public String clientToken; /** *

Specifies whether to perform full data migration or synchronization. Valid values:

*
*

* **true**

*

* **false**

*/ @NameInMap("DataInitialization") public Boolean dataInitialization; /** *

Specifies whether to perform incremental data migration or synchronization. Valid values:

*
*

* **false**

*

* **true**

*/ @NameInMap("DataSynchronization") public Boolean dataSynchronization; /** *

The objects of the data synchronization task after modification. The value must be a JSON string. For more information, see [Objects of DTS tasks](~~209545~~).

*
*

>

*
*

* The new value of DbList overwrites the original value. Make sure that all the objects that you want to synchronize are specified. Otherwise, some objects may be lost. Specify this parameter with caution.

*
*

* Before you call the ModifyDtsJob operation, we recommend that you call the [DescribeDtsJobDetail](~~208925~~) operation to query the current objects of the data synchronization task. Then, you can specify the new objects based on your business requirements. For example, if the current objects are Table A and Table B and you need to add Table C, you must specify Table A, Table B, and Table C for this parameter.

*/ @NameInMap("DbList") public java.util.Map dbList; /** *

The ID of the data synchronization instance.

*/ @NameInMap("DtsInstanceId") public String dtsInstanceId; /** *

The synchronization task ID. You can call the [DescribeDtsJobs](~~209702~~) operation to query the task ID.

*/ @NameInMap("DtsJobId") public String dtsJobId; /** *

The operator that is related to the extract, transform, and load (ETL) feature and dedicated to T+1 business.

*/ @NameInMap("EtlOperatorColumnReference") public String etlOperatorColumnReference; /** *

The endpoint of the Object Storage Service (OSS) bucket in which the files to be synchronized are stored.

*/ @NameInMap("FileOssUrl") public java.io.InputStream fileOssUrlObject; /** *

The name of the table to be filtered.

*/ @NameInMap("FilterTableName") public String filterTableName; /** *

The method that is used to modify the data synchronization task. If you do not specify the parameter, the objects of the data synchronization task are modified by default. If you specify UPDATE_RESERVED for the parameter, the reserved parameters are modified.

*/ @NameInMap("ModifyTypeEnum") public String modifyTypeEnum; /** *

The ID of the region in which the data synchronization instance resides. For more information, see [List of supported regions](~~141033~~).

*/ @NameInMap("RegionId") public String regionId; /** *

The reserved parameters of the data synchronization task. You can add reserved parameters instead of overwriting the existing reserved parameters. The value of the parameter is a MAP JSON string. You can specify this parameter to meet special requirements, such as specifying whether to automatically start the precheck of the data synchronization task. For more information, see [MigrationReserved](~~176470~~).

*/ @NameInMap("Reserved") public String reserved; @NameInMap("ResourceGroupId") public String resourceGroupId; /** *

Specifies whether to perform schema migration or synchronization. Valid values:

*
*

* **true**

*

* **false**

*/ @NameInMap("StructureInitialization") public Boolean structureInitialization; /** *

The synchronization direction. Valid values:

*
*

* **Forward**: Data is synchronized from the source database to the destination database.

*

* **Reverse**: Data is synchronized from the destination database to the source database.

*
*

>

*

* Default value: **Forward**.

*

* This parameter is required only if the topology of the data synchronization instance is two-way synchronization.

*/ @NameInMap("SynchronizationDirection") public String synchronizationDirection; @NameInMap("ZeroEtlJob") public Boolean zeroEtlJob; public static ModifyDtsJobAdvanceRequest build(java.util.Map map) throws Exception { ModifyDtsJobAdvanceRequest self = new ModifyDtsJobAdvanceRequest(); return TeaModel.build(map, self); } public ModifyDtsJobAdvanceRequest setClientToken(String clientToken) { this.clientToken = clientToken; return this; } public String getClientToken() { return this.clientToken; } public ModifyDtsJobAdvanceRequest setDataInitialization(Boolean dataInitialization) { this.dataInitialization = dataInitialization; return this; } public Boolean getDataInitialization() { return this.dataInitialization; } public ModifyDtsJobAdvanceRequest setDataSynchronization(Boolean dataSynchronization) { this.dataSynchronization = dataSynchronization; return this; } public Boolean getDataSynchronization() { return this.dataSynchronization; } public ModifyDtsJobAdvanceRequest setDbList(java.util.Map dbList) { this.dbList = dbList; return this; } public java.util.Map getDbList() { return this.dbList; } public ModifyDtsJobAdvanceRequest setDtsInstanceId(String dtsInstanceId) { this.dtsInstanceId = dtsInstanceId; return this; } public String getDtsInstanceId() { return this.dtsInstanceId; } public ModifyDtsJobAdvanceRequest setDtsJobId(String dtsJobId) { this.dtsJobId = dtsJobId; return this; } public String getDtsJobId() { return this.dtsJobId; } public ModifyDtsJobAdvanceRequest setEtlOperatorColumnReference(String etlOperatorColumnReference) { this.etlOperatorColumnReference = etlOperatorColumnReference; return this; } public String getEtlOperatorColumnReference() { return this.etlOperatorColumnReference; } public ModifyDtsJobAdvanceRequest setFileOssUrlObject(java.io.InputStream fileOssUrlObject) { this.fileOssUrlObject = fileOssUrlObject; return this; } public java.io.InputStream getFileOssUrlObject() { return this.fileOssUrlObject; } public ModifyDtsJobAdvanceRequest setFilterTableName(String filterTableName) { this.filterTableName = filterTableName; return this; } public String getFilterTableName() { return this.filterTableName; } public ModifyDtsJobAdvanceRequest setModifyTypeEnum(String modifyTypeEnum) { this.modifyTypeEnum = modifyTypeEnum; return this; } public String getModifyTypeEnum() { return this.modifyTypeEnum; } public ModifyDtsJobAdvanceRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public ModifyDtsJobAdvanceRequest setReserved(String reserved) { this.reserved = reserved; return this; } public String getReserved() { return this.reserved; } public ModifyDtsJobAdvanceRequest setResourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } public String getResourceGroupId() { return this.resourceGroupId; } public ModifyDtsJobAdvanceRequest setStructureInitialization(Boolean structureInitialization) { this.structureInitialization = structureInitialization; return this; } public Boolean getStructureInitialization() { return this.structureInitialization; } public ModifyDtsJobAdvanceRequest setSynchronizationDirection(String synchronizationDirection) { this.synchronizationDirection = synchronizationDirection; return this; } public String getSynchronizationDirection() { return this.synchronizationDirection; } public ModifyDtsJobAdvanceRequest setZeroEtlJob(Boolean zeroEtlJob) { this.zeroEtlJob = zeroEtlJob; return this; } public Boolean getZeroEtlJob() { return this.zeroEtlJob; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy