com.aliyun.dds20151201.models.DescribeBackupsResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dds20151201.models;
import com.aliyun.tea.*;
public class DescribeBackupsResponseBody extends TeaModel {
/**
* The details of the backup set.
*/
@NameInMap("Backups")
public DescribeBackupsResponseBodyBackups backups;
/**
* The page number of the returned page.
*
* example:
* 1
*/
@NameInMap("PageNumber")
public Integer pageNumber;
/**
* The number of entries returned per page. Valid values:
*
* - 30 (default)
* - 50
* - 100
*
*
* example:
* 30
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The request ID.
*
* example:
* 275D43C3-F12F-5224-B375-0C6BF453BD56
*/
@NameInMap("RequestId")
public String requestId;
/**
* The total number of backup sets.
*
* example:
* 1
*/
@NameInMap("TotalCount")
public Integer totalCount;
public static DescribeBackupsResponseBody build(java.util.Map map) throws Exception {
DescribeBackupsResponseBody self = new DescribeBackupsResponseBody();
return TeaModel.build(map, self);
}
public DescribeBackupsResponseBody setBackups(DescribeBackupsResponseBodyBackups backups) {
this.backups = backups;
return this;
}
public DescribeBackupsResponseBodyBackups getBackups() {
return this.backups;
}
public DescribeBackupsResponseBody setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public DescribeBackupsResponseBody setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public DescribeBackupsResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeBackupsResponseBody setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public Integer getTotalCount() {
return this.totalCount;
}
public static class DescribeBackupsResponseBodyBackupsBackup extends TeaModel {
/**
* The name of the database that has been backed up.
*
* example:
* database
*/
@NameInMap("BackupDBNames")
public String backupDBNames;
/**
* The URL that is used to download the backup set over the Internet. If the backup set cannot be downloaded, an empty string is returned.
*/
@NameInMap("BackupDownloadURL")
public String backupDownloadURL;
/**
* The end time of the backup. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
*
* example:
* 2022-01-14T03:57:34Z
*/
@NameInMap("BackupEndTime")
public String backupEndTime;
/**
* The ID of the backup set.
*
* example:
* 32102****
*/
@NameInMap("BackupId")
public String backupId;
/**
* The internal download URL of the backup set.
*
* You can use the URL to download the specified backup set on an Elastic Compute Service (ECS) instance that is in the same virtual private cloud (VPC) as the ApsaraDB for MongoDB instance.
*
*/
@NameInMap("BackupIntranetDownloadURL")
public String backupIntranetDownloadURL;
/**
* The ID of the backup task.
*
* example:
* 1123xxxx
*/
@NameInMap("BackupJobId")
public String backupJobId;
/**
* The method that is used to generate the backup set. Valid values:
*
* - Snapshot
* - Physical
* - Logical
*
*
* example:
* Physical
*/
@NameInMap("BackupMethod")
public String backupMethod;
/**
* The backup mode of the backup set. Valid values:
*
* - Automated
* - Manual
*
*
* example:
* Automated
*/
@NameInMap("BackupMode")
public String backupMode;
/**
* The name of the backup set (invalid now).
*
* example:
* 12345678.tar.gz
*/
@NameInMap("BackupName")
public String backupName;
/**
* The scale of the backup set (invalid now).
*
* example:
* DBInstance
*/
@NameInMap("BackupScale")
public String backupScale;
/**
* The size of the backup set. Unit: bytes.
*
* example:
* 6168576
*/
@NameInMap("BackupSize")
public Long backupSize;
/**
* The start time of the backup. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
*
* example:
* 2022-01-14T03:56:17Z
*/
@NameInMap("BackupStartTime")
public String backupStartTime;
/**
* The status of the backup task. Valid values:
*
* - Success: The backup task is successful.
* - Failed: The backup task failed.
*
*
* example:
* Success
*/
@NameInMap("BackupStatus")
public String backupStatus;
/**
* The backup type. Valid values:
*
* - FullBackup
* - IncrementalBackup
*
*
* example:
* FullBackup
*/
@NameInMap("BackupType")
public String backupType;
@NameInMap("EngineVersion")
public String engineVersion;
/**
* Availability of the backup set.
*
* - 0: unavailable
* - 1: available
*
*
* example:
* 1
*/
@NameInMap("IsAvail")
public Boolean isAvail;
public static DescribeBackupsResponseBodyBackupsBackup build(java.util.Map map) throws Exception {
DescribeBackupsResponseBodyBackupsBackup self = new DescribeBackupsResponseBodyBackupsBackup();
return TeaModel.build(map, self);
}
public DescribeBackupsResponseBodyBackupsBackup setBackupDBNames(String backupDBNames) {
this.backupDBNames = backupDBNames;
return this;
}
public String getBackupDBNames() {
return this.backupDBNames;
}
public DescribeBackupsResponseBodyBackupsBackup setBackupDownloadURL(String backupDownloadURL) {
this.backupDownloadURL = backupDownloadURL;
return this;
}
public String getBackupDownloadURL() {
return this.backupDownloadURL;
}
public DescribeBackupsResponseBodyBackupsBackup setBackupEndTime(String backupEndTime) {
this.backupEndTime = backupEndTime;
return this;
}
public String getBackupEndTime() {
return this.backupEndTime;
}
public DescribeBackupsResponseBodyBackupsBackup setBackupId(String backupId) {
this.backupId = backupId;
return this;
}
public String getBackupId() {
return this.backupId;
}
public DescribeBackupsResponseBodyBackupsBackup setBackupIntranetDownloadURL(String backupIntranetDownloadURL) {
this.backupIntranetDownloadURL = backupIntranetDownloadURL;
return this;
}
public String getBackupIntranetDownloadURL() {
return this.backupIntranetDownloadURL;
}
public DescribeBackupsResponseBodyBackupsBackup setBackupJobId(String backupJobId) {
this.backupJobId = backupJobId;
return this;
}
public String getBackupJobId() {
return this.backupJobId;
}
public DescribeBackupsResponseBodyBackupsBackup setBackupMethod(String backupMethod) {
this.backupMethod = backupMethod;
return this;
}
public String getBackupMethod() {
return this.backupMethod;
}
public DescribeBackupsResponseBodyBackupsBackup setBackupMode(String backupMode) {
this.backupMode = backupMode;
return this;
}
public String getBackupMode() {
return this.backupMode;
}
public DescribeBackupsResponseBodyBackupsBackup setBackupName(String backupName) {
this.backupName = backupName;
return this;
}
public String getBackupName() {
return this.backupName;
}
public DescribeBackupsResponseBodyBackupsBackup setBackupScale(String backupScale) {
this.backupScale = backupScale;
return this;
}
public String getBackupScale() {
return this.backupScale;
}
public DescribeBackupsResponseBodyBackupsBackup setBackupSize(Long backupSize) {
this.backupSize = backupSize;
return this;
}
public Long getBackupSize() {
return this.backupSize;
}
public DescribeBackupsResponseBodyBackupsBackup setBackupStartTime(String backupStartTime) {
this.backupStartTime = backupStartTime;
return this;
}
public String getBackupStartTime() {
return this.backupStartTime;
}
public DescribeBackupsResponseBodyBackupsBackup setBackupStatus(String backupStatus) {
this.backupStatus = backupStatus;
return this;
}
public String getBackupStatus() {
return this.backupStatus;
}
public DescribeBackupsResponseBodyBackupsBackup setBackupType(String backupType) {
this.backupType = backupType;
return this;
}
public String getBackupType() {
return this.backupType;
}
public DescribeBackupsResponseBodyBackupsBackup setEngineVersion(String engineVersion) {
this.engineVersion = engineVersion;
return this;
}
public String getEngineVersion() {
return this.engineVersion;
}
public DescribeBackupsResponseBodyBackupsBackup setIsAvail(Boolean isAvail) {
this.isAvail = isAvail;
return this;
}
public Boolean getIsAvail() {
return this.isAvail;
}
}
public static class DescribeBackupsResponseBodyBackups extends TeaModel {
@NameInMap("Backup")
public java.util.List backup;
public static DescribeBackupsResponseBodyBackups build(java.util.Map map) throws Exception {
DescribeBackupsResponseBodyBackups self = new DescribeBackupsResponseBodyBackups();
return TeaModel.build(map, self);
}
public DescribeBackupsResponseBodyBackups setBackup(java.util.List backup) {
this.backup = backup;
return this;
}
public java.util.List getBackup() {
return this.backup;
}
}
}