com.aliyun.rds20140815.models.DescribeDetachedBackupsResponseBody Maven / Gradle / Ivy
Show all versions of rds20140815 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;
import com.aliyun.tea.*;
public class DescribeDetachedBackupsResponseBody extends TeaModel {
/**
* The queried backup sets.
*/
@NameInMap("Items")
public DescribeDetachedBackupsResponseBodyItems items;
/**
* The page number.
*
* example:
* 1
*/
@NameInMap("PageNumber")
public String pageNumber;
/**
* The number of entries per page.
*
* example:
* 30
*/
@NameInMap("PageRecordCount")
public String pageRecordCount;
/**
* The request ID.
*
* example:
* 1A6D328C-84B8-40DC-BF49-6C73984D7494
*/
@NameInMap("RequestId")
public String requestId;
/**
* The total number of entries returned.
*
* example:
* 100
*/
@NameInMap("TotalRecordCount")
public String totalRecordCount;
public static DescribeDetachedBackupsResponseBody build(java.util.Map map) throws Exception {
DescribeDetachedBackupsResponseBody self = new DescribeDetachedBackupsResponseBody();
return TeaModel.build(map, self);
}
public DescribeDetachedBackupsResponseBody setItems(DescribeDetachedBackupsResponseBodyItems items) {
this.items = items;
return this;
}
public DescribeDetachedBackupsResponseBodyItems getItems() {
return this.items;
}
public DescribeDetachedBackupsResponseBody setPageNumber(String pageNumber) {
this.pageNumber = pageNumber;
return this;
}
public String getPageNumber() {
return this.pageNumber;
}
public DescribeDetachedBackupsResponseBody setPageRecordCount(String pageRecordCount) {
this.pageRecordCount = pageRecordCount;
return this;
}
public String getPageRecordCount() {
return this.pageRecordCount;
}
public DescribeDetachedBackupsResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeDetachedBackupsResponseBody setTotalRecordCount(String totalRecordCount) {
this.totalRecordCount = totalRecordCount;
return this;
}
public String getTotalRecordCount() {
return this.totalRecordCount;
}
public static class DescribeDetachedBackupsResponseBodyItemsBackup extends TeaModel {
/**
* The URL that is used to download the diagnostic report over the Internet. If the diagnostic report cannot be downloaded, an empty string is returned.
*
* example:
* http://rdsbak-hz-v3.oss-cn-hangzhou.aliyuncs.com/xxxxx
*/
@NameInMap("BackupDownloadURL")
public String backupDownloadURL;
/**
* The end time of the backup task.
* The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time is displayed in UTC.
*
* example:
* 2019-02-13T12:20:00Z
*/
@NameInMap("BackupEndTime")
public String backupEndTime;
/**
* The ID of the backup set.
*
* example:
* 321020562
*/
@NameInMap("BackupId")
public String backupId;
/**
* The URL that is used to download the log file over an internal network. If the log file cannot be downloaded, an empty string is returned.
*
* example:
* http://rdsbak-hz-v3.oss-cn-hangzhou-internal.aliyuncs.com/xxxxx
*/
@NameInMap("BackupIntranetDownloadURL")
public String backupIntranetDownloadURL;
/**
* The method that is used to generate the data backup file. Valid values:
*
* - Logical: logical backup
* - Physical: physical backup
*
*
* example:
* Physical
*/
@NameInMap("BackupMethod")
public String backupMethod;
/**
* The backup method. Valid values:
*
* - Automated
* - Manual
*
*
* example:
* Automated
*/
@NameInMap("BackupMode")
public String backupMode;
/**
* The backup size. Unit: bytes.
*
* example:
* 2167808
*/
@NameInMap("BackupSize")
public Long backupSize;
/**
* The start time of the backup task.
* The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time is displayed in UTC.
*
* example:
* 2019-02-03T12:20:00Z
*/
@NameInMap("BackupStartTime")
public String backupStartTime;
/**
* The status of the backup set. Valid values:
*
* - Success
* - Failed
*
*
* example:
* Success
*/
@NameInMap("BackupStatus")
public String backupStatus;
/**
* The backup type of the backup file. Valid values:
*
* - FullBackup
* - IncrementalBackup
*
*
* example:
* FullBackup
*/
@NameInMap("BackupType")
public String backupType;
/**
* The point in time at which the data in the backup set is consistent. The return value of this parameter is a timestamp.
*
* If the instance runs MySQL 5.6, a timestamp is returned. Otherwise, the value 0 is returned.
*
*
* example:
* 1576506856
*/
@NameInMap("ConsistentTime")
public Long consistentTime;
/**
* The description of the instance.
*
* example:
* test
*/
@NameInMap("DBInstanceComment")
public String DBInstanceComment;
/**
* The instance ID.
*
* example:
* rm-uf6wjk5xxxxxxx
*/
@NameInMap("DBInstanceId")
public String DBInstanceId;
/**
* The ID of the instance that generates the backup set. This parameter is used to indicate whether the instance that generates the backup set is a primary instance or a secondary instance.
*
* example:
* 5882781
*/
@NameInMap("HostInstanceID")
public String hostInstanceID;
/**
* Indicates whether the backup set is available. Valid values:
*
* - 0: The backup set is unavailable.
* - 1: The backup set is available.
*
*
* example:
* 1
*/
@NameInMap("IsAvail")
public Integer isAvail;
/**
* The status of the backup set that is used to restore individual databases or tables. Valid values:
*
* - OK: The backup set is normal.
* - LARGE: The backup set contains an abnormally large number of tables. It cannot be used to restore individual databases or tables.
* - EMPTY: The backup set is generated from a failed backup task.
*
*
* example:
* OK
*/
@NameInMap("MetaStatus")
public String metaStatus;
/**
* Indicates whether the data backup file can be deleted. Valid values:
*
* - Enabled
* - Disabled
*
*
* example:
* Disabled
*/
@NameInMap("StoreStatus")
public String storeStatus;
public static DescribeDetachedBackupsResponseBodyItemsBackup build(java.util.Map map) throws Exception {
DescribeDetachedBackupsResponseBodyItemsBackup self = new DescribeDetachedBackupsResponseBodyItemsBackup();
return TeaModel.build(map, self);
}
public DescribeDetachedBackupsResponseBodyItemsBackup setBackupDownloadURL(String backupDownloadURL) {
this.backupDownloadURL = backupDownloadURL;
return this;
}
public String getBackupDownloadURL() {
return this.backupDownloadURL;
}
public DescribeDetachedBackupsResponseBodyItemsBackup setBackupEndTime(String backupEndTime) {
this.backupEndTime = backupEndTime;
return this;
}
public String getBackupEndTime() {
return this.backupEndTime;
}
public DescribeDetachedBackupsResponseBodyItemsBackup setBackupId(String backupId) {
this.backupId = backupId;
return this;
}
public String getBackupId() {
return this.backupId;
}
public DescribeDetachedBackupsResponseBodyItemsBackup setBackupIntranetDownloadURL(String backupIntranetDownloadURL) {
this.backupIntranetDownloadURL = backupIntranetDownloadURL;
return this;
}
public String getBackupIntranetDownloadURL() {
return this.backupIntranetDownloadURL;
}
public DescribeDetachedBackupsResponseBodyItemsBackup setBackupMethod(String backupMethod) {
this.backupMethod = backupMethod;
return this;
}
public String getBackupMethod() {
return this.backupMethod;
}
public DescribeDetachedBackupsResponseBodyItemsBackup setBackupMode(String backupMode) {
this.backupMode = backupMode;
return this;
}
public String getBackupMode() {
return this.backupMode;
}
public DescribeDetachedBackupsResponseBodyItemsBackup setBackupSize(Long backupSize) {
this.backupSize = backupSize;
return this;
}
public Long getBackupSize() {
return this.backupSize;
}
public DescribeDetachedBackupsResponseBodyItemsBackup setBackupStartTime(String backupStartTime) {
this.backupStartTime = backupStartTime;
return this;
}
public String getBackupStartTime() {
return this.backupStartTime;
}
public DescribeDetachedBackupsResponseBodyItemsBackup setBackupStatus(String backupStatus) {
this.backupStatus = backupStatus;
return this;
}
public String getBackupStatus() {
return this.backupStatus;
}
public DescribeDetachedBackupsResponseBodyItemsBackup setBackupType(String backupType) {
this.backupType = backupType;
return this;
}
public String getBackupType() {
return this.backupType;
}
public DescribeDetachedBackupsResponseBodyItemsBackup setConsistentTime(Long consistentTime) {
this.consistentTime = consistentTime;
return this;
}
public Long getConsistentTime() {
return this.consistentTime;
}
public DescribeDetachedBackupsResponseBodyItemsBackup setDBInstanceComment(String DBInstanceComment) {
this.DBInstanceComment = DBInstanceComment;
return this;
}
public String getDBInstanceComment() {
return this.DBInstanceComment;
}
public DescribeDetachedBackupsResponseBodyItemsBackup setDBInstanceId(String DBInstanceId) {
this.DBInstanceId = DBInstanceId;
return this;
}
public String getDBInstanceId() {
return this.DBInstanceId;
}
public DescribeDetachedBackupsResponseBodyItemsBackup setHostInstanceID(String hostInstanceID) {
this.hostInstanceID = hostInstanceID;
return this;
}
public String getHostInstanceID() {
return this.hostInstanceID;
}
public DescribeDetachedBackupsResponseBodyItemsBackup setIsAvail(Integer isAvail) {
this.isAvail = isAvail;
return this;
}
public Integer getIsAvail() {
return this.isAvail;
}
public DescribeDetachedBackupsResponseBodyItemsBackup setMetaStatus(String metaStatus) {
this.metaStatus = metaStatus;
return this;
}
public String getMetaStatus() {
return this.metaStatus;
}
public DescribeDetachedBackupsResponseBodyItemsBackup setStoreStatus(String storeStatus) {
this.storeStatus = storeStatus;
return this;
}
public String getStoreStatus() {
return this.storeStatus;
}
}
public static class DescribeDetachedBackupsResponseBodyItems extends TeaModel {
@NameInMap("Backup")
public java.util.List backup;
public static DescribeDetachedBackupsResponseBodyItems build(java.util.Map map) throws Exception {
DescribeDetachedBackupsResponseBodyItems self = new DescribeDetachedBackupsResponseBodyItems();
return TeaModel.build(map, self);
}
public DescribeDetachedBackupsResponseBodyItems setBackup(java.util.List backup) {
this.backup = backup;
return this;
}
public java.util.List getBackup() {
return this.backup;
}
}
}