com.aliyun.sddp20190103.models.DescribeDataMaskingRunHistoryRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sddp20190103.models;
import com.aliyun.tea.*;
public class DescribeDataMaskingRunHistoryRequest extends TeaModel {
/**
* The number of the page to return.
*
* example:
* 1
*/
@NameInMap("CurrentPage")
public Integer currentPage;
/**
* The type of the service to which the de-identified data belongs. Valid values: 1, 2, 3, 4, and 5. The value 1 indicates MaxCompute. The value 2 indicates OSS. The value indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS.
*
* example:
* 2
*/
@NameInMap("DstType")
public Integer dstType;
/**
* The end of the time range to query. The value is a UNIX timestamp. Unit: milliseconds.
*
* example:
* 1583856000000
*/
@NameInMap("EndTime")
public Long endTime;
/**
* The language of the content within the request and response. Default value: zh_cn. Valid values:
*
* - zh_cn: Chinese
* - en_us: English
*
*
* example:
* zh_cn
*/
@NameInMap("Lang")
public String lang;
/**
* The ID of the task.
*
* If a task has one or more subtasks, the value of the parameter must be the ID of the task. Otherwise, leave this parameter empty.
*
*
* example:
* 366731
*/
@NameInMap("MainProcessId")
public Long mainProcessId;
/**
* The number of entries to return on each page.
*
* example:
* 10
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The name of the source table.
*
* example:
* add
*/
@NameInMap("SrcTableName")
public String srcTableName;
/**
* The type of the service to which the data to be de-identified belongs. Valid values: 1, 2, 3, 4, and 5. The value 1 indicates MaxCompute. The value 2 indicates Object Storage Service (OSS). The value indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS.
*
* example:
* 2
*/
@NameInMap("SrcType")
public Integer srcType;
/**
* The beginning of the time range to query. The value is a UNIX timestamp. Unit: milliseconds.
*
* example:
* 1582992000000
*/
@NameInMap("StartTime")
public Long startTime;
/**
* The status of the de-identification task. Valid values:
*
* - -1: waiting
* - 0: being executed
* - 1: executed
* - 2: failed to be executed
* - 3: terminated
* - 4: partially failed
*
*
* example:
* 0
*/
@NameInMap("Status")
public Integer status;
/**
* The ID of the de-identification task.
*
* example:
* mt4HBgtw1B******
*/
@NameInMap("TaskId")
public String taskId;
public static DescribeDataMaskingRunHistoryRequest build(java.util.Map map) throws Exception {
DescribeDataMaskingRunHistoryRequest self = new DescribeDataMaskingRunHistoryRequest();
return TeaModel.build(map, self);
}
public DescribeDataMaskingRunHistoryRequest setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public DescribeDataMaskingRunHistoryRequest setDstType(Integer dstType) {
this.dstType = dstType;
return this;
}
public Integer getDstType() {
return this.dstType;
}
public DescribeDataMaskingRunHistoryRequest setEndTime(Long endTime) {
this.endTime = endTime;
return this;
}
public Long getEndTime() {
return this.endTime;
}
public DescribeDataMaskingRunHistoryRequest setLang(String lang) {
this.lang = lang;
return this;
}
public String getLang() {
return this.lang;
}
public DescribeDataMaskingRunHistoryRequest setMainProcessId(Long mainProcessId) {
this.mainProcessId = mainProcessId;
return this;
}
public Long getMainProcessId() {
return this.mainProcessId;
}
public DescribeDataMaskingRunHistoryRequest setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public DescribeDataMaskingRunHistoryRequest setSrcTableName(String srcTableName) {
this.srcTableName = srcTableName;
return this;
}
public String getSrcTableName() {
return this.srcTableName;
}
public DescribeDataMaskingRunHistoryRequest setSrcType(Integer srcType) {
this.srcType = srcType;
return this;
}
public Integer getSrcType() {
return this.srcType;
}
public DescribeDataMaskingRunHistoryRequest setStartTime(Long startTime) {
this.startTime = startTime;
return this;
}
public Long getStartTime() {
return this.startTime;
}
public DescribeDataMaskingRunHistoryRequest setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
public DescribeDataMaskingRunHistoryRequest setTaskId(String taskId) {
this.taskId = taskId;
return this;
}
public String getTaskId() {
return this.taskId;
}
}