com.aliyun.dms_enterprise20181101.models.CreateDataExportOrderRequest Maven / Gradle / Ivy
Show all versions of dms_enterprise20181101 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dms_enterprise20181101.models;
import com.aliyun.tea.*;
public class CreateDataExportOrderRequest extends TeaModel {
/**
* The key of the attachment that provides more instructions for the ticket. You can call the GetUserUploadFileJob operation to obtain the attachment key.
*
* example:
* order_attachment.txt
*/
@NameInMap("AttachmentKey")
public String attachmentKey;
/**
* The purpose or objective of the ticket. This parameter helps reduce unnecessary communication.
* This parameter is required.
*
* example:
* business_test
*/
@NameInMap("Comment")
public String comment;
/**
* The ID of the parent ticket.
*
* example:
* 877****
*/
@NameInMap("ParentId")
public Long parentId;
/**
* The parameters of the ticket.
* This parameter is required.
*/
@NameInMap("PluginParam")
public CreateDataExportOrderRequestPluginParam pluginParam;
@NameInMap("RealLoginUserUid")
public String realLoginUserUid;
/**
* The stakeholders involved in this operation.
*/
@NameInMap("RelatedUserList")
public java.util.List relatedUserList;
/**
* The tenant ID.
*
* To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.
*
*
* example:
* 3***
*/
@NameInMap("Tid")
public Long tid;
public static CreateDataExportOrderRequest build(java.util.Map map) throws Exception {
CreateDataExportOrderRequest self = new CreateDataExportOrderRequest();
return TeaModel.build(map, self);
}
public CreateDataExportOrderRequest setAttachmentKey(String attachmentKey) {
this.attachmentKey = attachmentKey;
return this;
}
public String getAttachmentKey() {
return this.attachmentKey;
}
public CreateDataExportOrderRequest setComment(String comment) {
this.comment = comment;
return this;
}
public String getComment() {
return this.comment;
}
public CreateDataExportOrderRequest setParentId(Long parentId) {
this.parentId = parentId;
return this;
}
public Long getParentId() {
return this.parentId;
}
public CreateDataExportOrderRequest setPluginParam(CreateDataExportOrderRequestPluginParam pluginParam) {
this.pluginParam = pluginParam;
return this;
}
public CreateDataExportOrderRequestPluginParam getPluginParam() {
return this.pluginParam;
}
public CreateDataExportOrderRequest setRealLoginUserUid(String realLoginUserUid) {
this.realLoginUserUid = realLoginUserUid;
return this;
}
public String getRealLoginUserUid() {
return this.realLoginUserUid;
}
public CreateDataExportOrderRequest setRelatedUserList(java.util.List relatedUserList) {
this.relatedUserList = relatedUserList;
return this;
}
public java.util.List getRelatedUserList() {
return this.relatedUserList;
}
public CreateDataExportOrderRequest setTid(Long tid) {
this.tid = tid;
return this;
}
public Long getTid() {
return this.tid;
}
public static class CreateDataExportOrderRequestPluginParamWatermark extends TeaModel {
/**
* The field into which the watermark is to be embedded.
*
* example:
* user_number
*/
@NameInMap("ColumnName")
public String columnName;
/**
* The information to be embedded as a watermark into data.
*
* example:
* test
*/
@NameInMap("DataWatermark")
public String dataWatermark;
/**
* The information to be embedded as a watermark into files.
*
* example:
* test
*/
@NameInMap("FileWatermark")
public String fileWatermark;
/**
* One or more primary keys or unique keys.
*/
@NameInMap("Keys")
public java.util.List keys;
/**
* The methods in which the watermark is embedded.
*/
@NameInMap("WatermarkTypes")
public java.util.List watermarkTypes;
public static CreateDataExportOrderRequestPluginParamWatermark build(java.util.Map map) throws Exception {
CreateDataExportOrderRequestPluginParamWatermark self = new CreateDataExportOrderRequestPluginParamWatermark();
return TeaModel.build(map, self);
}
public CreateDataExportOrderRequestPluginParamWatermark setColumnName(String columnName) {
this.columnName = columnName;
return this;
}
public String getColumnName() {
return this.columnName;
}
public CreateDataExportOrderRequestPluginParamWatermark setDataWatermark(String dataWatermark) {
this.dataWatermark = dataWatermark;
return this;
}
public String getDataWatermark() {
return this.dataWatermark;
}
public CreateDataExportOrderRequestPluginParamWatermark setFileWatermark(String fileWatermark) {
this.fileWatermark = fileWatermark;
return this;
}
public String getFileWatermark() {
return this.fileWatermark;
}
public CreateDataExportOrderRequestPluginParamWatermark setKeys(java.util.List keys) {
this.keys = keys;
return this;
}
public java.util.List getKeys() {
return this.keys;
}
public CreateDataExportOrderRequestPluginParamWatermark setWatermarkTypes(java.util.List watermarkTypes) {
this.watermarkTypes = watermarkTypes;
return this;
}
public java.util.List getWatermarkTypes() {
return this.watermarkTypes;
}
}
public static class CreateDataExportOrderRequestPluginParam extends TeaModel {
/**
* The estimated number of data rows to be affected.
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("AffectRows")
public Long affectRows;
/**
* The reason for the export ticket.
* This parameter is required.
*
* example:
* test
*/
@NameInMap("Classify")
public String classify;
/**
* The database ID.
* This parameter is required.
*
* example:
* 18****
*/
@NameInMap("DbId")
public Long dbId;
/**
* The SQL statements that can be executed.
* This parameter is required.
*
* example:
* SELECT * FROM DMS_test
* LIMIT 20;
*/
@NameInMap("ExeSQL")
public String exeSQL;
/**
* Specifies whether to skip verification. Valid values:
*
* - true
* - false
*
* This parameter is required.
*
* example:
* true
*/
@NameInMap("IgnoreAffectRows")
public Boolean ignoreAffectRows;
/**
* The reason for skipping verification. This parameter is required if you set IgnoreAffectRows to true.
*
* example:
* Test only, does not affect the business, and does not require verification.
*/
@NameInMap("IgnoreAffectRowsReason")
public String ignoreAffectRowsReason;
/**
* The instance ID.
* This parameter is required.
*
* example:
* 132****
*/
@NameInMap("InstanceId")
public Long instanceId;
/**
* Specifies whether the database is a logical database. Valid values:
*
* - true
* - false
*
*
* If you set this parameter to true, the database that you specify must be a logical database.
*
* This parameter is required.
*
* example:
* true
*/
@NameInMap("Logic")
public Boolean logic;
/**
* The information about the watermarks.
*/
@NameInMap("Watermark")
public CreateDataExportOrderRequestPluginParamWatermark watermark;
public static CreateDataExportOrderRequestPluginParam build(java.util.Map map) throws Exception {
CreateDataExportOrderRequestPluginParam self = new CreateDataExportOrderRequestPluginParam();
return TeaModel.build(map, self);
}
public CreateDataExportOrderRequestPluginParam setAffectRows(Long affectRows) {
this.affectRows = affectRows;
return this;
}
public Long getAffectRows() {
return this.affectRows;
}
public CreateDataExportOrderRequestPluginParam setClassify(String classify) {
this.classify = classify;
return this;
}
public String getClassify() {
return this.classify;
}
public CreateDataExportOrderRequestPluginParam setDbId(Long dbId) {
this.dbId = dbId;
return this;
}
public Long getDbId() {
return this.dbId;
}
public CreateDataExportOrderRequestPluginParam setExeSQL(String exeSQL) {
this.exeSQL = exeSQL;
return this;
}
public String getExeSQL() {
return this.exeSQL;
}
public CreateDataExportOrderRequestPluginParam setIgnoreAffectRows(Boolean ignoreAffectRows) {
this.ignoreAffectRows = ignoreAffectRows;
return this;
}
public Boolean getIgnoreAffectRows() {
return this.ignoreAffectRows;
}
public CreateDataExportOrderRequestPluginParam setIgnoreAffectRowsReason(String ignoreAffectRowsReason) {
this.ignoreAffectRowsReason = ignoreAffectRowsReason;
return this;
}
public String getIgnoreAffectRowsReason() {
return this.ignoreAffectRowsReason;
}
public CreateDataExportOrderRequestPluginParam setInstanceId(Long instanceId) {
this.instanceId = instanceId;
return this;
}
public Long getInstanceId() {
return this.instanceId;
}
public CreateDataExportOrderRequestPluginParam setLogic(Boolean logic) {
this.logic = logic;
return this;
}
public Boolean getLogic() {
return this.logic;
}
public CreateDataExportOrderRequestPluginParam setWatermark(CreateDataExportOrderRequestPluginParamWatermark watermark) {
this.watermark = watermark;
return this;
}
public CreateDataExportOrderRequestPluginParamWatermark getWatermark() {
return this.watermark;
}
}
}