com.aliyun.dms_enterprise20181101.models.GetDataExportPreCheckDetailResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dms_enterprise20181101 Show documentation
Show all versions of dms_enterprise20181101 Show documentation
Alibaba Cloud dms-enterprise (20181101) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dms_enterprise20181101.models;
import com.aliyun.tea.*;
public class GetDataExportPreCheckDetailResponseBody extends TeaModel {
/**
* The error code returned.
*
* example:
* UnknownError
*/
@NameInMap("ErrorCode")
public String errorCode;
/**
* The error message returned.
*
* example:
* UnknownError
*/
@NameInMap("ErrorMessage")
public String errorMessage;
/**
* Indicates the result of the precheck task.
*/
@NameInMap("PreCheckResult")
public GetDataExportPreCheckDetailResponseBodyPreCheckResult preCheckResult;
/**
* The ID of the request.
*
* example:
* C1D39814-9808-47F8-AFE0-AF167239AC9B
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the request was successful. Valid values:
*
* - true: The request was successful.
* - false: The request failed.
*
*
* example:
* true
*/
@NameInMap("Success")
public Boolean success;
public static GetDataExportPreCheckDetailResponseBody build(java.util.Map map) throws Exception {
GetDataExportPreCheckDetailResponseBody self = new GetDataExportPreCheckDetailResponseBody();
return TeaModel.build(map, self);
}
public GetDataExportPreCheckDetailResponseBody setErrorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
public String getErrorCode() {
return this.errorCode;
}
public GetDataExportPreCheckDetailResponseBody setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
public String getErrorMessage() {
return this.errorMessage;
}
public GetDataExportPreCheckDetailResponseBody setPreCheckResult(GetDataExportPreCheckDetailResponseBodyPreCheckResult preCheckResult) {
this.preCheckResult = preCheckResult;
return this;
}
public GetDataExportPreCheckDetailResponseBodyPreCheckResult getPreCheckResult() {
return this.preCheckResult;
}
public GetDataExportPreCheckDetailResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetDataExportPreCheckDetailResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class GetDataExportPreCheckDetailResponseBodyPreCheckResultPreCheckDetailListPreCheckDetailList extends TeaModel {
/**
* The estimated number of data rows to be affected.
*
* example:
* 1
*/
@NameInMap("AffectRows")
public Long affectRows;
/**
* The SQL statement.
*
* example:
* SELECT * FROM tmp_table LIMIT 1
*/
@NameInMap("SQL")
public String SQL;
public static GetDataExportPreCheckDetailResponseBodyPreCheckResultPreCheckDetailListPreCheckDetailList build(java.util.Map map) throws Exception {
GetDataExportPreCheckDetailResponseBodyPreCheckResultPreCheckDetailListPreCheckDetailList self = new GetDataExportPreCheckDetailResponseBodyPreCheckResultPreCheckDetailListPreCheckDetailList();
return TeaModel.build(map, self);
}
public GetDataExportPreCheckDetailResponseBodyPreCheckResultPreCheckDetailListPreCheckDetailList setAffectRows(Long affectRows) {
this.affectRows = affectRows;
return this;
}
public Long getAffectRows() {
return this.affectRows;
}
public GetDataExportPreCheckDetailResponseBodyPreCheckResultPreCheckDetailListPreCheckDetailList setSQL(String SQL) {
this.SQL = SQL;
return this;
}
public String getSQL() {
return this.SQL;
}
}
public static class GetDataExportPreCheckDetailResponseBodyPreCheckResultPreCheckDetailList extends TeaModel {
@NameInMap("PreCheckDetailList")
public java.util.List preCheckDetailList;
public static GetDataExportPreCheckDetailResponseBodyPreCheckResultPreCheckDetailList build(java.util.Map map) throws Exception {
GetDataExportPreCheckDetailResponseBodyPreCheckResultPreCheckDetailList self = new GetDataExportPreCheckDetailResponseBodyPreCheckResultPreCheckDetailList();
return TeaModel.build(map, self);
}
public GetDataExportPreCheckDetailResponseBodyPreCheckResultPreCheckDetailList setPreCheckDetailList(java.util.List preCheckDetailList) {
this.preCheckDetailList = preCheckDetailList;
return this;
}
public java.util.List getPreCheckDetailList() {
return this.preCheckDetailList;
}
}
public static class GetDataExportPreCheckDetailResponseBodyPreCheckResult extends TeaModel {
/**
* Specifies whether to skip verification. Valid values:
*
* - true
* - false
*
*
* example:
* true
*/
@NameInMap("IgnoreAffectRows")
public Boolean ignoreAffectRows;
/**
* The list of pre-check details.
*/
@NameInMap("PreCheckDetailList")
public GetDataExportPreCheckDetailResponseBodyPreCheckResultPreCheckDetailList preCheckDetailList;
public static GetDataExportPreCheckDetailResponseBodyPreCheckResult build(java.util.Map map) throws Exception {
GetDataExportPreCheckDetailResponseBodyPreCheckResult self = new GetDataExportPreCheckDetailResponseBodyPreCheckResult();
return TeaModel.build(map, self);
}
public GetDataExportPreCheckDetailResponseBodyPreCheckResult setIgnoreAffectRows(Boolean ignoreAffectRows) {
this.ignoreAffectRows = ignoreAffectRows;
return this;
}
public Boolean getIgnoreAffectRows() {
return this.ignoreAffectRows;
}
public GetDataExportPreCheckDetailResponseBodyPreCheckResult setPreCheckDetailList(GetDataExportPreCheckDetailResponseBodyPreCheckResultPreCheckDetailList preCheckDetailList) {
this.preCheckDetailList = preCheckDetailList;
return this;
}
public GetDataExportPreCheckDetailResponseBodyPreCheckResultPreCheckDetailList getPreCheckDetailList() {
return this.preCheckDetailList;
}
}
}