com.aliyun.dataworks_public20200518.models.GetMetaTableChangeLogRequest Maven / Gradle / Ivy
Show all versions of dataworks_public20200518 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dataworks_public20200518.models;
import com.aliyun.tea.*;
public class GetMetaTableChangeLogRequest extends TeaModel {
/**
* The type of the change. Valid values: CREATE_TABLE, ALTER_TABLE, DROP_TABLE, ADD_PARTITION, and DROP_PARTITION.
*
* example:
* ALTER_TABLE
*/
@NameInMap("ChangeType")
public String changeType;
/**
* The end of the time range to query. Specify the time in the yyyy-MM-dd HH:mm:ss format.
*
* - By default, the system uses the current time as the value of this parameter if the time that you specify is invalid.
* - If both the values of the StartDate and EndDate parameters are invalid, the system automatically queries the change logs that are generated within the last 30 days.
*
*
* example:
* 2020-06-02 00:00:00
*/
@NameInMap("EndDate")
public String endDate;
/**
* The entity on which the change is made. Valid values: TABLE and PARTITION.
*
* example:
* TABLE
*/
@NameInMap("ObjectType")
public String objectType;
/**
* The page number.
*
* example:
* 1
*/
@NameInMap("PageNumber")
public Integer pageNumber;
/**
* The number of entries per page. Default value: 10. Maximum value: 100.
*
* example:
* 10
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The beginning of the time range to query. Specify the time in the yyyy-MM-dd HH:mm:ss format.
*
* - By default, the system uses the current time as the value of this parameter if the time that you specify is invalid.
* - If both the values of the StartDate and EndDate parameters are invalid, the system automatically queries the change logs that are generated within the last 30 days.
*
*
* example:
* 2020-06-01 00:00:00
*/
@NameInMap("StartDate")
public String startDate;
/**
* The GUID of the table. Specify the GUID in the odps.projectName.tableName format. You can call the GetMetaDBTableList operation to query the GUID.
*
* To query the change logs of a MaxCompute table, you must call the GetMetaTableChangeLog operation.
*
* This parameter is required.
*
* example:
* odps.engine_name.table_name
*/
@NameInMap("TableGuid")
public String tableGuid;
public static GetMetaTableChangeLogRequest build(java.util.Map map) throws Exception {
GetMetaTableChangeLogRequest self = new GetMetaTableChangeLogRequest();
return TeaModel.build(map, self);
}
public GetMetaTableChangeLogRequest setChangeType(String changeType) {
this.changeType = changeType;
return this;
}
public String getChangeType() {
return this.changeType;
}
public GetMetaTableChangeLogRequest setEndDate(String endDate) {
this.endDate = endDate;
return this;
}
public String getEndDate() {
return this.endDate;
}
public GetMetaTableChangeLogRequest setObjectType(String objectType) {
this.objectType = objectType;
return this;
}
public String getObjectType() {
return this.objectType;
}
public GetMetaTableChangeLogRequest setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public GetMetaTableChangeLogRequest setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public GetMetaTableChangeLogRequest setStartDate(String startDate) {
this.startDate = startDate;
return this;
}
public String getStartDate() {
return this.startDate;
}
public GetMetaTableChangeLogRequest setTableGuid(String tableGuid) {
this.tableGuid = tableGuid;
return this;
}
public String getTableGuid() {
return this.tableGuid;
}
}