com.aliyun.dts20200101.models.DescribeDtsJobDetailRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dts20200101.models;
import com.aliyun.tea.*;
public class DescribeDtsJobDetailRequest extends TeaModel {
/**
* DescribeDtsJobDetail
*/
@NameInMap("DtsInstanceID")
public String dtsInstanceID;
/**
* The state of the data migration or data synchronization task.
*
* Valid values for a data migration task:
*
* * **NotStarted**: The migration is not started.
* * **Migrating**: The migration is in progress.
* * **Failed**: The migration failed.
* * **Finished**: The migration is complete.
*
* Valid values for a data synchronization task:
*
* * **NotStarted**: The task is not started.
* * **Prechecking**: The task is in precheck.
* * **PrecheckFailed**: The task failed to pass the precheck.
* * **Initializing**: The task is performing initial synchronization.
* * **InitializeFailed**: Initial synchronization failed.
* * **Synchronizing**: The task is in progress.
* * **Failed**: The task failed to synchronize data.
* * **Suspending**: The task is paused.
* * **Modifying**: The objects in the task are being modified.
* * **Finished**: The task is complete.
*/
@NameInMap("DtsJobId")
public String dtsJobId;
/**
* The ID of the data migration, data synchronization, or change tracking task.
*/
@NameInMap("RegionId")
public String regionId;
@NameInMap("ResourceGroupId")
public String resourceGroupId;
@NameInMap("SyncSubJobHistory")
public Boolean syncSubJobHistory;
/**
* Queries the details of a data migration, data synchronization, or change tracking task.
*/
@NameInMap("SynchronizationDirection")
public String synchronizationDirection;
@NameInMap("ZeroEtlJob")
public Boolean zeroEtlJob;
public static DescribeDtsJobDetailRequest build(java.util.Map map) throws Exception {
DescribeDtsJobDetailRequest self = new DescribeDtsJobDetailRequest();
return TeaModel.build(map, self);
}
public DescribeDtsJobDetailRequest setDtsInstanceID(String dtsInstanceID) {
this.dtsInstanceID = dtsInstanceID;
return this;
}
public String getDtsInstanceID() {
return this.dtsInstanceID;
}
public DescribeDtsJobDetailRequest setDtsJobId(String dtsJobId) {
this.dtsJobId = dtsJobId;
return this;
}
public String getDtsJobId() {
return this.dtsJobId;
}
public DescribeDtsJobDetailRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public DescribeDtsJobDetailRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public DescribeDtsJobDetailRequest setSyncSubJobHistory(Boolean syncSubJobHistory) {
this.syncSubJobHistory = syncSubJobHistory;
return this;
}
public Boolean getSyncSubJobHistory() {
return this.syncSubJobHistory;
}
public DescribeDtsJobDetailRequest setSynchronizationDirection(String synchronizationDirection) {
this.synchronizationDirection = synchronizationDirection;
return this;
}
public String getSynchronizationDirection() {
return this.synchronizationDirection;
}
public DescribeDtsJobDetailRequest setZeroEtlJob(Boolean zeroEtlJob) {
this.zeroEtlJob = zeroEtlJob;
return this;
}
public Boolean getZeroEtlJob() {
return this.zeroEtlJob;
}
}