com.aliyun.sdk.service.dts20200101.models.DescribeDataCheckReportUrlRequest Maven / Gradle / Ivy
Show all versions of alibabacloud-dts20200101 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dts20200101.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeDataCheckReportUrlRequest} extends {@link RequestModel}
*
* DescribeDataCheckReportUrlRequest
*/
public class DescribeDataCheckReportUrlRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CheckType")
@com.aliyun.core.annotation.Validation(required = true)
private Integer checkType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DbName")
@com.aliyun.core.annotation.Validation(required = true)
private String dbName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DtsJobId")
@com.aliyun.core.annotation.Validation(required = true)
private String dtsJobId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TbName")
@com.aliyun.core.annotation.Validation(required = true)
private String tbName;
private DescribeDataCheckReportUrlRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.checkType = builder.checkType;
this.dbName = builder.dbName;
this.dtsJobId = builder.dtsJobId;
this.resourceGroupId = builder.resourceGroupId;
this.tbName = builder.tbName;
}
public static Builder builder() {
return new Builder();
}
public static DescribeDataCheckReportUrlRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return checkType
*/
public Integer getCheckType() {
return this.checkType;
}
/**
* @return dbName
*/
public String getDbName() {
return this.dbName;
}
/**
* @return dtsJobId
*/
public String getDtsJobId() {
return this.dtsJobId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return tbName
*/
public String getTbName() {
return this.tbName;
}
public static final class Builder extends Request.Builder {
private String regionId;
private Integer checkType;
private String dbName;
private String dtsJobId;
private String resourceGroupId;
private String tbName;
private Builder() {
super();
}
private Builder(DescribeDataCheckReportUrlRequest request) {
super(request);
this.regionId = request.regionId;
this.checkType = request.checkType;
this.dbName = request.dbName;
this.dtsJobId = request.dtsJobId;
this.resourceGroupId = request.resourceGroupId;
this.tbName = request.tbName;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* The data verification method. Valid values:
*
*
* * **1**: full data verification.
* * **2**: incremental data verification.
*/
public Builder checkType(Integer checkType) {
this.putQueryParameter("CheckType", checkType);
this.checkType = checkType;
return this;
}
/**
* The name of the verified source database.
*/
public Builder dbName(String dbName) {
this.putQueryParameter("DbName", dbName);
this.dbName = dbName;
return this;
}
/**
* The ID of the Data Transmission Service (DTS) task. You can call the [DescribeDtsJobs](~~209702~~) operation to query the task ID.
*/
public Builder dtsJobId(String dtsJobId) {
this.putQueryParameter("DtsJobId", dtsJobId);
this.dtsJobId = dtsJobId;
return this;
}
/**
* ResourceGroupId.
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* The name of the table verified in the source database.
*/
public Builder tbName(String tbName) {
this.putQueryParameter("TbName", tbName);
this.tbName = tbName;
return this;
}
@Override
public DescribeDataCheckReportUrlRequest build() {
return new DescribeDataCheckReportUrlRequest(this);
}
}
}