com.aliyun.rds20140815.models.DescibeImportsFromDatabaseResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rds20140815 Show documentation
Show all versions of rds20140815 Show documentation
Alibaba Cloud rds (20140815) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;
import com.aliyun.tea.*;
public class DescibeImportsFromDatabaseResponseBody extends TeaModel {
/**
* The migration tasks.
*/
@NameInMap("Items")
public DescibeImportsFromDatabaseResponseBodyItems items;
/**
* The page number.
*
* example:
* 1
*/
@NameInMap("PageNumber")
public Integer pageNumber;
/**
* The number of entries per page.
*
* example:
* 1
*/
@NameInMap("PageRecordCount")
public Integer pageRecordCount;
/**
* The request ID.
*
* example:
* B000AA91-393D-46F9-8D9B-098E28931A3A
*/
@NameInMap("RequestId")
public String requestId;
/**
* The total number of entries returned.
*
* example:
* 1
*/
@NameInMap("TotalRecordCount")
public Integer totalRecordCount;
public static DescibeImportsFromDatabaseResponseBody build(java.util.Map map) throws Exception {
DescibeImportsFromDatabaseResponseBody self = new DescibeImportsFromDatabaseResponseBody();
return TeaModel.build(map, self);
}
public DescibeImportsFromDatabaseResponseBody setItems(DescibeImportsFromDatabaseResponseBodyItems items) {
this.items = items;
return this;
}
public DescibeImportsFromDatabaseResponseBodyItems getItems() {
return this.items;
}
public DescibeImportsFromDatabaseResponseBody setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public DescibeImportsFromDatabaseResponseBody setPageRecordCount(Integer pageRecordCount) {
this.pageRecordCount = pageRecordCount;
return this;
}
public Integer getPageRecordCount() {
return this.pageRecordCount;
}
public DescibeImportsFromDatabaseResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescibeImportsFromDatabaseResponseBody setTotalRecordCount(Integer totalRecordCount) {
this.totalRecordCount = totalRecordCount;
return this;
}
public Integer getTotalRecordCount() {
return this.totalRecordCount;
}
public static class DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB extends TeaModel {
/**
* The status of the migration task. Valid values:
*
* - NotStart: The migration task has not started.
* - FullExporting: The migration task is exporting full data.
* - FullImporting: The migration task is importing full data.
* - Success: The migration task is successful.
* - Failed: The migration task failed.
* - Canceled: The migration task is canceled.
* - Canceling: The migration task is being canceled.
* - IncrementalWaiting: The migration task is waiting to synchronize incremental data.
* - IncrementalImporting: The migration task is synchronizing incremental data.
* - StopSyncing: The migration task stops synchronizing data.
*
*
* example:
* NotStart
*/
@NameInMap("ImportDataStatus")
public String importDataStatus;
/**
* The description of the migration task.
*
* example:
* Description
*/
@NameInMap("ImportDataStatusDescription")
public String importDataStatusDescription;
/**
* The type of the migration task. Valid values:
*
* - Full: full migration
* - Incremental:: incremental migration
*
*
* example:
* Full
*/
@NameInMap("ImportDataType")
public String importDataType;
/**
* The ID of the migration task.
*
* example:
* 123
*/
@NameInMap("ImportId")
public Integer importId;
/**
* The time when the migration task synchronized incremental data. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
*
* example:
* 2011-06-11T15:00Z
*/
@NameInMap("IncrementalImportingTime")
public String incrementalImportingTime;
public static DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB build(java.util.Map map) throws Exception {
DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB self = new DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB();
return TeaModel.build(map, self);
}
public DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB setImportDataStatus(String importDataStatus) {
this.importDataStatus = importDataStatus;
return this;
}
public String getImportDataStatus() {
return this.importDataStatus;
}
public DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB setImportDataStatusDescription(String importDataStatusDescription) {
this.importDataStatusDescription = importDataStatusDescription;
return this;
}
public String getImportDataStatusDescription() {
return this.importDataStatusDescription;
}
public DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB setImportDataType(String importDataType) {
this.importDataType = importDataType;
return this;
}
public String getImportDataType() {
return this.importDataType;
}
public DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB setImportId(Integer importId) {
this.importId = importId;
return this;
}
public Integer getImportId() {
return this.importId;
}
public DescibeImportsFromDatabaseResponseBodyItemsImportResultFromDB setIncrementalImportingTime(String incrementalImportingTime) {
this.incrementalImportingTime = incrementalImportingTime;
return this;
}
public String getIncrementalImportingTime() {
return this.incrementalImportingTime;
}
}
public static class DescibeImportsFromDatabaseResponseBodyItems extends TeaModel {
@NameInMap("ImportResultFromDB")
public java.util.List importResultFromDB;
public static DescibeImportsFromDatabaseResponseBodyItems build(java.util.Map map) throws Exception {
DescibeImportsFromDatabaseResponseBodyItems self = new DescibeImportsFromDatabaseResponseBodyItems();
return TeaModel.build(map, self);
}
public DescibeImportsFromDatabaseResponseBodyItems setImportResultFromDB(java.util.List importResultFromDB) {
this.importResultFromDB = importResultFromDB;
return this;
}
public java.util.List getImportResultFromDB() {
return this.importResultFromDB;
}
}
}