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

com.aliyun.sas20181203.models.DescribeRestorePlansResponseBody Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class DescribeRestorePlansResponseBody extends TeaModel {
    /**
     * 

The pagination information.

*/ @NameInMap("PageInfo") public DescribeRestorePlansResponseBodyPageInfo pageInfo; /** *

The ID of the request, which is used to locate and troubleshoot issues.

* * example: *

BE120DAB-F4E7-4C53-ADC3-A97578AB****

*/ @NameInMap("RequestId") public String requestId; /** *

An array that consists of the restoration tasks.

*/ @NameInMap("RestorePlans") public java.util.List restorePlans; public static DescribeRestorePlansResponseBody build(java.util.Map map) throws Exception { DescribeRestorePlansResponseBody self = new DescribeRestorePlansResponseBody(); return TeaModel.build(map, self); } public DescribeRestorePlansResponseBody setPageInfo(DescribeRestorePlansResponseBodyPageInfo pageInfo) { this.pageInfo = pageInfo; return this; } public DescribeRestorePlansResponseBodyPageInfo getPageInfo() { return this.pageInfo; } public DescribeRestorePlansResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public DescribeRestorePlansResponseBody setRestorePlans(java.util.List restorePlans) { this.restorePlans = restorePlans; return this; } public java.util.List getRestorePlans() { return this.restorePlans; } public static class DescribeRestorePlansResponseBodyPageInfo extends TeaModel { /** *

The number of entries returned on the current page.

* * example: *

20

*/ @NameInMap("Count") public Integer count; /** *

The page number of the returned page.

* * example: *

1

*/ @NameInMap("CurrentPage") public Integer currentPage; /** *

The number of entries returned per page.

* * example: *

20

*/ @NameInMap("PageSize") public Integer pageSize; /** *

The total number of entries returned.

* * example: *

33

*/ @NameInMap("TotalCount") public Integer totalCount; public static DescribeRestorePlansResponseBodyPageInfo build(java.util.Map map) throws Exception { DescribeRestorePlansResponseBodyPageInfo self = new DescribeRestorePlansResponseBodyPageInfo(); return TeaModel.build(map, self); } public DescribeRestorePlansResponseBodyPageInfo setCount(Integer count) { this.count = count; return this; } public Integer getCount() { return this.count; } public DescribeRestorePlansResponseBodyPageInfo setCurrentPage(Integer currentPage) { this.currentPage = currentPage; return this; } public Integer getCurrentPage() { return this.currentPage; } public DescribeRestorePlansResponseBodyPageInfo setPageSize(Integer pageSize) { this.pageSize = pageSize; return this; } public Integer getPageSize() { return this.pageSize; } public DescribeRestorePlansResponseBodyPageInfo setTotalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public Integer getTotalCount() { return this.totalCount; } } public static class DescribeRestorePlansResponseBodyRestorePlans extends TeaModel { /** *

The timestamp when the restoration task was created. Unit: milliseconds.

* * example: *

1655174753****

*/ @NameInMap("CreatedTime") public Long createdTime; /** *

The name of the database.

* * example: *

Bankup****

*/ @NameInMap("DatabaseName") public String databaseName; /** *

The name of the server on which the database resides.

* * example: *

sql-test-001

*/ @NameInMap("InstanceName") public String instanceName; /** *

The ID of the anti-ransomware policy.

* * example: *

123

*/ @NameInMap("PolicyId") public Long policyId; /** *

The name of the anti-ransomware policy.

* * example: *

KtDataBase

*/ @NameInMap("PolicyName") public String policyName; /** *

The point in time to which data is restored.

* * example: *

165875100****

*/ @NameInMap("RestorePoint") public Long restorePoint; /** *

The status of the restoration task. Valid values:

*
    *
  • init: initializing
  • *
  • created: creating
  • *
  • running: running
  • *
  • completed: complete
  • *
  • error: failed
  • *
  • restoring: restoring
  • *
* * example: *

running

*/ @NameInMap("Status") public String status; /** *

The name of the destination database.

* * example: *

OABak

*/ @NameInMap("TargetDatabaseName") public String targetDatabaseName; /** *

The ID of the destination server.

* * example: *

i-2zehqflgbl9ep2he****

*/ @NameInMap("TargetInstanceId") public String targetInstanceId; /** *

The name of the destination server.

* * example: *

hbr-detection-hh

*/ @NameInMap("TargetInstanceName") public String targetInstanceName; /** *

The timestamp when the restoration task was last updated. Unit: milliseconds.

* * example: *

166849080****

*/ @NameInMap("UpdatedTime") public Long updatedTime; public static DescribeRestorePlansResponseBodyRestorePlans build(java.util.Map map) throws Exception { DescribeRestorePlansResponseBodyRestorePlans self = new DescribeRestorePlansResponseBodyRestorePlans(); return TeaModel.build(map, self); } public DescribeRestorePlansResponseBodyRestorePlans setCreatedTime(Long createdTime) { this.createdTime = createdTime; return this; } public Long getCreatedTime() { return this.createdTime; } public DescribeRestorePlansResponseBodyRestorePlans setDatabaseName(String databaseName) { this.databaseName = databaseName; return this; } public String getDatabaseName() { return this.databaseName; } public DescribeRestorePlansResponseBodyRestorePlans setInstanceName(String instanceName) { this.instanceName = instanceName; return this; } public String getInstanceName() { return this.instanceName; } public DescribeRestorePlansResponseBodyRestorePlans setPolicyId(Long policyId) { this.policyId = policyId; return this; } public Long getPolicyId() { return this.policyId; } public DescribeRestorePlansResponseBodyRestorePlans setPolicyName(String policyName) { this.policyName = policyName; return this; } public String getPolicyName() { return this.policyName; } public DescribeRestorePlansResponseBodyRestorePlans setRestorePoint(Long restorePoint) { this.restorePoint = restorePoint; return this; } public Long getRestorePoint() { return this.restorePoint; } public DescribeRestorePlansResponseBodyRestorePlans setStatus(String status) { this.status = status; return this; } public String getStatus() { return this.status; } public DescribeRestorePlansResponseBodyRestorePlans setTargetDatabaseName(String targetDatabaseName) { this.targetDatabaseName = targetDatabaseName; return this; } public String getTargetDatabaseName() { return this.targetDatabaseName; } public DescribeRestorePlansResponseBodyRestorePlans setTargetInstanceId(String targetInstanceId) { this.targetInstanceId = targetInstanceId; return this; } public String getTargetInstanceId() { return this.targetInstanceId; } public DescribeRestorePlansResponseBodyRestorePlans setTargetInstanceName(String targetInstanceName) { this.targetInstanceName = targetInstanceName; return this; } public String getTargetInstanceName() { return this.targetInstanceName; } public DescribeRestorePlansResponseBodyRestorePlans setUpdatedTime(Long updatedTime) { this.updatedTime = updatedTime; return this; } public Long getUpdatedTime() { return this.updatedTime; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy