com.aliyun.polardb20170801.models.DescribeMetaListRequest Maven / Gradle / Ivy
Show all versions of polardb20170801 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.polardb20170801.models;
import com.aliyun.tea.*;
public class DescribeMetaListRequest extends TeaModel {
/**
* The ID of the data backup file.
*
*
* - When you run a query, you must specify the
BackId
or RestoreTime
parameter.
* - You can call the DescribeBackups operation to query the ID of the backup set.
*
*
*
* example:
* 111111
*/
@NameInMap("BackupId")
public String backupId;
/**
* The ID of the cluster.
*
* You can call the DescribeDBClusters operation to query the details of all clusters under your account.
*
* This parameter is required.
*
* example:
* pc-**************
*/
@NameInMap("DBClusterId")
public String DBClusterId;
/**
* Specify the specific database name (such as test_db
) to query the names of all data tables that can be restored in the desired database.
*
*
* - You can specify only one database name each time.
* - If you do not specify this parameter, you can query the names of all databases that can be restored in the current backup set. However, you cannot query the names of data tables in each database.
*
*
*
* example:
* test_db
*/
@NameInMap("GetDbName")
public String getDbName;
@NameInMap("OwnerAccount")
public String ownerAccount;
@NameInMap("OwnerId")
public Long ownerId;
/**
* The number of the page to return. The value must be an integer that is greater than 0. Default value: 1.
*
* example:
* 1
*/
@NameInMap("PageNumber")
public Integer pageNumber;
/**
* The number of entries to return on each page. Valid values:
*
* 30
*
* 50
*
* 100
* Default value: 30.
*
*
*
* example:
* 30
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The ID of the region in which the instance resides. You can call the DescribeDBClusterAttribute operation to query the region ID of the instance.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionCode")
public String regionCode;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
/**
* The point in time for the restoration. Specify the time in the YYYY-MM-DDThh:mmZ format. The time must be in UTC.
*
* When you run a query, you must specify the BackId
or RestoreTime
parameter. You can call the DescribeBackups operation to query the point in time for the restoration.
*
*
* example:
* 2020-10-04T01:40:00Z
*/
@NameInMap("RestoreTime")
public String restoreTime;
@NameInMap("SecurityToken")
public String securityToken;
public static DescribeMetaListRequest build(java.util.Map map) throws Exception {
DescribeMetaListRequest self = new DescribeMetaListRequest();
return TeaModel.build(map, self);
}
public DescribeMetaListRequest setBackupId(String backupId) {
this.backupId = backupId;
return this;
}
public String getBackupId() {
return this.backupId;
}
public DescribeMetaListRequest setDBClusterId(String DBClusterId) {
this.DBClusterId = DBClusterId;
return this;
}
public String getDBClusterId() {
return this.DBClusterId;
}
public DescribeMetaListRequest setGetDbName(String getDbName) {
this.getDbName = getDbName;
return this;
}
public String getGetDbName() {
return this.getDbName;
}
public DescribeMetaListRequest setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
return this;
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public DescribeMetaListRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public DescribeMetaListRequest setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public DescribeMetaListRequest setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public DescribeMetaListRequest setRegionCode(String regionCode) {
this.regionCode = regionCode;
return this;
}
public String getRegionCode() {
return this.regionCode;
}
public DescribeMetaListRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public DescribeMetaListRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public DescribeMetaListRequest setRestoreTime(String restoreTime) {
this.restoreTime = restoreTime;
return this;
}
public String getRestoreTime() {
return this.restoreTime;
}
public DescribeMetaListRequest setSecurityToken(String securityToken) {
this.securityToken = securityToken;
return this;
}
public String getSecurityToken() {
return this.securityToken;
}
}