All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.polardb20170801.models.DescribeDetachedBackupsResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.polardb20170801.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link DescribeDetachedBackupsResponseBody} extends {@link TeaModel}
 *
 * 

DescribeDetachedBackupsResponseBody

*/ public class DescribeDetachedBackupsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Items") private Items items; @com.aliyun.core.annotation.NameInMap("PageNumber") private String pageNumber; @com.aliyun.core.annotation.NameInMap("PageRecordCount") private String pageRecordCount; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalRecordCount") private String totalRecordCount; private DescribeDetachedBackupsResponseBody(Builder builder) { this.items = builder.items; this.pageNumber = builder.pageNumber; this.pageRecordCount = builder.pageRecordCount; this.requestId = builder.requestId; this.totalRecordCount = builder.totalRecordCount; } public static Builder builder() { return new Builder(); } public static DescribeDetachedBackupsResponseBody create() { return builder().build(); } /** * @return items */ public Items getItems() { return this.items; } /** * @return pageNumber */ public String getPageNumber() { return this.pageNumber; } /** * @return pageRecordCount */ public String getPageRecordCount() { return this.pageRecordCount; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalRecordCount */ public String getTotalRecordCount() { return this.totalRecordCount; } public static final class Builder { private Items items; private String pageNumber; private String pageRecordCount; private String requestId; private String totalRecordCount; /** *

Details about the backup sets.

*/ public Builder items(Items items) { this.items = items; return this; } /** *

The page number.

* * example: *

1

*/ public Builder pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } /** *

The number of entries per page.

* * example: *

15

*/ public Builder pageRecordCount(String pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } /** *

The ID of the request.

* * example: *

717B2382-BB14-4DCB-BBC2-32DBE0******

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** *

The total number of returned entries.

* * example: *

50

*/ public Builder totalRecordCount(String totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeDetachedBackupsResponseBody build() { return new DescribeDetachedBackupsResponseBody(this); } } /** * * {@link DescribeDetachedBackupsResponseBody} extends {@link TeaModel} * *

DescribeDetachedBackupsResponseBody

*/ public static class Backup extends TeaModel { @com.aliyun.core.annotation.NameInMap("BackupEndTime") private String backupEndTime; @com.aliyun.core.annotation.NameInMap("BackupId") private String backupId; @com.aliyun.core.annotation.NameInMap("BackupMethod") private String backupMethod; @com.aliyun.core.annotation.NameInMap("BackupMode") private String backupMode; @com.aliyun.core.annotation.NameInMap("BackupSetSize") private String backupSetSize; @com.aliyun.core.annotation.NameInMap("BackupStartTime") private String backupStartTime; @com.aliyun.core.annotation.NameInMap("BackupStatus") private String backupStatus; @com.aliyun.core.annotation.NameInMap("BackupType") private String backupType; @com.aliyun.core.annotation.NameInMap("BackupsLevel") private String backupsLevel; @com.aliyun.core.annotation.NameInMap("ConsistentTime") private String consistentTime; @com.aliyun.core.annotation.NameInMap("DBClusterId") private String DBClusterId; @com.aliyun.core.annotation.NameInMap("IsAvail") private String isAvail; @com.aliyun.core.annotation.NameInMap("StoreStatus") private String storeStatus; private Backup(Builder builder) { this.backupEndTime = builder.backupEndTime; this.backupId = builder.backupId; this.backupMethod = builder.backupMethod; this.backupMode = builder.backupMode; this.backupSetSize = builder.backupSetSize; this.backupStartTime = builder.backupStartTime; this.backupStatus = builder.backupStatus; this.backupType = builder.backupType; this.backupsLevel = builder.backupsLevel; this.consistentTime = builder.consistentTime; this.DBClusterId = builder.DBClusterId; this.isAvail = builder.isAvail; this.storeStatus = builder.storeStatus; } public static Builder builder() { return new Builder(); } public static Backup create() { return builder().build(); } /** * @return backupEndTime */ public String getBackupEndTime() { return this.backupEndTime; } /** * @return backupId */ public String getBackupId() { return this.backupId; } /** * @return backupMethod */ public String getBackupMethod() { return this.backupMethod; } /** * @return backupMode */ public String getBackupMode() { return this.backupMode; } /** * @return backupSetSize */ public String getBackupSetSize() { return this.backupSetSize; } /** * @return backupStartTime */ public String getBackupStartTime() { return this.backupStartTime; } /** * @return backupStatus */ public String getBackupStatus() { return this.backupStatus; } /** * @return backupType */ public String getBackupType() { return this.backupType; } /** * @return backupsLevel */ public String getBackupsLevel() { return this.backupsLevel; } /** * @return consistentTime */ public String getConsistentTime() { return this.consistentTime; } /** * @return DBClusterId */ public String getDBClusterId() { return this.DBClusterId; } /** * @return isAvail */ public String getIsAvail() { return this.isAvail; } /** * @return storeStatus */ public String getStoreStatus() { return this.storeStatus; } public static final class Builder { private String backupEndTime; private String backupId; private String backupMethod; private String backupMode; private String backupSetSize; private String backupStartTime; private String backupStatus; private String backupType; private String backupsLevel; private String consistentTime; private String DBClusterId; private String isAvail; private String storeStatus; /** *

The end time of the backup task. The time is displayed in UTC.

* * example: *

2020-05-12T03:25:55Z

*/ public Builder backupEndTime(String backupEndTime) { this.backupEndTime = backupEndTime; return this; } /** *

The ID of the backup set.

* * example: *

111111111

*/ public Builder backupId(String backupId) { this.backupId = backupId; return this; } /** *

The backup method. Only snapshot backups are supported. The value is set to Snapshot.

* * example: *

Snapshot

*/ public Builder backupMethod(String backupMethod) { this.backupMethod = backupMethod; return this; } /** *

The backup mode. Valid values:

*
    *
  • Automated
  • *
  • Manual
  • *
* * example: *

Manual

*/ public Builder backupMode(String backupMode) { this.backupMode = backupMode; return this; } /** *

The size of the backup set. Unit: bytes.

*
*

After you delete the target snapshot backups, the storage space consumed by the backups is released. The released storage space is smaller than the size of the backup file, because the snapshots share certain data blocks.

*
* * example: *

7251056

*/ public Builder backupSetSize(String backupSetSize) { this.backupSetSize = backupSetSize; return this; } /** *

The start time of the backup task. The time is displayed in UTC.

* * example: *

2020-05-12T03:25:44Z

*/ public Builder backupStartTime(String backupStartTime) { this.backupStartTime = backupStartTime; return this; } /** *

The status of the backup set. Valid values:

*
    *
  • Success
  • *
  • Failed
  • *
* * example: *

Success

*/ public Builder backupStatus(String backupStatus) { this.backupStatus = backupStatus; return this; } /** *

The type of the backup. Only full backups are supported. The value is set to FullBackup.

* * example: *

FullBackup

*/ public Builder backupType(String backupType) { this.backupType = backupType; return this; } /** *

The level of the backup set. Valid values:

*
    *
  • Level-1: level-1 backup set
  • *
  • Level-2: level-2 backup set
  • *
* * example: *

Level-2

*/ public Builder backupsLevel(String backupsLevel) { this.backupsLevel = backupsLevel; return this; } /** *

The snapshot checkpoint time. The value is a Unix timestamp.

* * example: *

1589253947

*/ public Builder consistentTime(String consistentTime) { this.consistentTime = consistentTime; return this; } /** *

The ID of the cluster.

* * example: *

pc-**************

*/ public Builder DBClusterId(String DBClusterId) { this.DBClusterId = DBClusterId; return this; } /** *

Indicates whether the backup set is available. Valid values:

*
    *
  • 0: The data backup set is unavailable.
  • *
  • 1: The data backup set is available.
  • *
* * example: *

1

*/ public Builder isAvail(String isAvail) { this.isAvail = isAvail; return this; } /** *

Indicates whether the backup set can be deleted. Valid values:

*
    *
  • Enabled: The backup set can be deleted.
  • *
  • Disabled: The backup set cannot be deleted.
  • *
* * example: *

Disabled

*/ public Builder storeStatus(String storeStatus) { this.storeStatus = storeStatus; return this; } public Backup build() { return new Backup(this); } } } /** * * {@link DescribeDetachedBackupsResponseBody} extends {@link TeaModel} * *

DescribeDetachedBackupsResponseBody

*/ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("Backup") private java.util.List backup; private Items(Builder builder) { this.backup = builder.backup; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return backup */ public java.util.List getBackup() { return this.backup; } public static final class Builder { private java.util.List backup; /** * Backup. */ public Builder backup(java.util.List backup) { this.backup = backup; return this; } public Items build() { return new Items(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy