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

com.aliyun.sdk.service.dts20200101.models.DescribeMigrationJobStatusResponseBody Maven / Gradle / Ivy

There is a newer version: 1.0.18
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dts20200101.models;

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

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

DescribeMigrationJobStatusResponseBody

*/ public class DescribeMigrationJobStatusResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataInitializationStatus") private DataInitializationStatus dataInitializationStatus; @com.aliyun.core.annotation.NameInMap("DataSynchronizationStatus") private DataSynchronizationStatus dataSynchronizationStatus; @com.aliyun.core.annotation.NameInMap("DestinationEndpoint") private DestinationEndpoint destinationEndpoint; @com.aliyun.core.annotation.NameInMap("ErrCode") private String errCode; @com.aliyun.core.annotation.NameInMap("ErrMessage") private String errMessage; @com.aliyun.core.annotation.NameInMap("MigrationJobClass") private String migrationJobClass; @com.aliyun.core.annotation.NameInMap("MigrationJobId") private String migrationJobId; @com.aliyun.core.annotation.NameInMap("MigrationJobName") private String migrationJobName; @com.aliyun.core.annotation.NameInMap("MigrationJobStatus") private String migrationJobStatus; @com.aliyun.core.annotation.NameInMap("MigrationMode") private MigrationMode migrationMode; @com.aliyun.core.annotation.NameInMap("MigrationObject") private String migrationObject; @com.aliyun.core.annotation.NameInMap("PayType") private String payType; @com.aliyun.core.annotation.NameInMap("PrecheckStatus") private PrecheckStatus precheckStatus; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SourceEndpoint") private SourceEndpoint sourceEndpoint; @com.aliyun.core.annotation.NameInMap("StructureInitializationStatus") private StructureInitializationStatus structureInitializationStatus; @com.aliyun.core.annotation.NameInMap("Success") private String success; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private DescribeMigrationJobStatusResponseBody(Builder builder) { this.dataInitializationStatus = builder.dataInitializationStatus; this.dataSynchronizationStatus = builder.dataSynchronizationStatus; this.destinationEndpoint = builder.destinationEndpoint; this.errCode = builder.errCode; this.errMessage = builder.errMessage; this.migrationJobClass = builder.migrationJobClass; this.migrationJobId = builder.migrationJobId; this.migrationJobName = builder.migrationJobName; this.migrationJobStatus = builder.migrationJobStatus; this.migrationMode = builder.migrationMode; this.migrationObject = builder.migrationObject; this.payType = builder.payType; this.precheckStatus = builder.precheckStatus; this.requestId = builder.requestId; this.sourceEndpoint = builder.sourceEndpoint; this.structureInitializationStatus = builder.structureInitializationStatus; this.success = builder.success; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static DescribeMigrationJobStatusResponseBody create() { return builder().build(); } /** * @return dataInitializationStatus */ public DataInitializationStatus getDataInitializationStatus() { return this.dataInitializationStatus; } /** * @return dataSynchronizationStatus */ public DataSynchronizationStatus getDataSynchronizationStatus() { return this.dataSynchronizationStatus; } /** * @return destinationEndpoint */ public DestinationEndpoint getDestinationEndpoint() { return this.destinationEndpoint; } /** * @return errCode */ public String getErrCode() { return this.errCode; } /** * @return errMessage */ public String getErrMessage() { return this.errMessage; } /** * @return migrationJobClass */ public String getMigrationJobClass() { return this.migrationJobClass; } /** * @return migrationJobId */ public String getMigrationJobId() { return this.migrationJobId; } /** * @return migrationJobName */ public String getMigrationJobName() { return this.migrationJobName; } /** * @return migrationJobStatus */ public String getMigrationJobStatus() { return this.migrationJobStatus; } /** * @return migrationMode */ public MigrationMode getMigrationMode() { return this.migrationMode; } /** * @return migrationObject */ public String getMigrationObject() { return this.migrationObject; } /** * @return payType */ public String getPayType() { return this.payType; } /** * @return precheckStatus */ public PrecheckStatus getPrecheckStatus() { return this.precheckStatus; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return sourceEndpoint */ public SourceEndpoint getSourceEndpoint() { return this.sourceEndpoint; } /** * @return structureInitializationStatus */ public StructureInitializationStatus getStructureInitializationStatus() { return this.structureInitializationStatus; } /** * @return success */ public String getSuccess() { return this.success; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private DataInitializationStatus dataInitializationStatus; private DataSynchronizationStatus dataSynchronizationStatus; private DestinationEndpoint destinationEndpoint; private String errCode; private String errMessage; private String migrationJobClass; private String migrationJobId; private String migrationJobName; private String migrationJobStatus; private MigrationMode migrationMode; private String migrationObject; private String payType; private PrecheckStatus precheckStatus; private String requestId; private SourceEndpoint sourceEndpoint; private StructureInitializationStatus structureInitializationStatus; private String success; private String taskId; /** * The status of full data migration. */ public Builder dataInitializationStatus(DataInitializationStatus dataInitializationStatus) { this.dataInitializationStatus = dataInitializationStatus; return this; } /** * The status of incremental data migration. */ public Builder dataSynchronizationStatus(DataSynchronizationStatus dataSynchronizationStatus) { this.dataSynchronizationStatus = dataSynchronizationStatus; return this; } /** * The connection settings of the destination instance. */ public Builder destinationEndpoint(DestinationEndpoint destinationEndpoint) { this.destinationEndpoint = destinationEndpoint; return this; } /** * The error code returned if the call failed. */ public Builder errCode(String errCode) { this.errCode = errCode; return this; } /** * The error message returned if the call failed. */ public Builder errMessage(String errMessage) { this.errMessage = errMessage; return this; } /** * The specification of the data migration instance. Valid values: **small**, **medium**, **large**, **xlarge**, and **2xlarge**. For more information, see [Specifications of data migration instances](~~26606~~). */ public Builder migrationJobClass(String migrationJobClass) { this.migrationJobClass = migrationJobClass; return this; } /** * The ID of the data migration instance. */ public Builder migrationJobId(String migrationJobId) { this.migrationJobId = migrationJobId; return this; } /** * The name of the data migration task. */ public Builder migrationJobName(String migrationJobName) { this.migrationJobName = migrationJobName; return this; } /** * The status of the data migration task. Valid values: *

* * * **NotStarted**: The task is not started. * * **Prechecking**: The task is being prechecked. * * **PrecheckFailed**: The task failed to pass the precheck. * * **Migrating**: The task is migrating data. * * **Suspending**: The task is paused. * * **MigrationFailed**: The task failed to migrate data. * * **Finished**: The task is completed. */ public Builder migrationJobStatus(String migrationJobStatus) { this.migrationJobStatus = migrationJobStatus; return this; } /** * The migration types. */ public Builder migrationMode(MigrationMode migrationMode) { this.migrationMode = migrationMode; return this; } /** * The objects that are migrated by the task. */ public Builder migrationObject(String migrationObject) { this.migrationObject = migrationObject; return this; } /** * The billing method of the data migration instance. The value is **PostPaid** (pay-as-you-go). */ public Builder payType(String payType) { this.payType = payType; return this; } /** * The precheck details. */ public Builder precheckStatus(PrecheckStatus precheckStatus) { this.precheckStatus = precheckStatus; return this; } /** * The ID of the request. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The connection settings of the source instance. */ public Builder sourceEndpoint(SourceEndpoint sourceEndpoint) { this.sourceEndpoint = sourceEndpoint; return this; } /** * The status of schema migration. */ public Builder structureInitializationStatus(StructureInitializationStatus structureInitializationStatus) { this.structureInitializationStatus = structureInitializationStatus; return this; } /** * Indicates whether the call was successful. */ public Builder success(String success) { this.success = success; return this; } /** * TaskId. */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public DescribeMigrationJobStatusResponseBody build() { return new DescribeMigrationJobStatusResponseBody(this); } } public static class DataInitializationStatus extends TeaModel { @com.aliyun.core.annotation.NameInMap("ErrorMessage") private String errorMessage; @com.aliyun.core.annotation.NameInMap("Percent") private String percent; @com.aliyun.core.annotation.NameInMap("Progress") private String progress; @com.aliyun.core.annotation.NameInMap("Status") private String status; private DataInitializationStatus(Builder builder) { this.errorMessage = builder.errorMessage; this.percent = builder.percent; this.progress = builder.progress; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static DataInitializationStatus create() { return builder().build(); } /** * @return errorMessage */ public String getErrorMessage() { return this.errorMessage; } /** * @return percent */ public String getPercent() { return this.percent; } /** * @return progress */ public String getProgress() { return this.progress; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String errorMessage; private String percent; private String progress; private String status; /** * The error message returned if full data migration failed. */ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } /** * The migration progress. Unit: %. */ public Builder percent(String percent) { this.percent = percent; return this; } /** * The number of records that have been migrated during full data migration. */ public Builder progress(String progress) { this.progress = progress; return this; } /** * The status of full data migration. Valid values: *

* * * **NotStarted**: Full data migration is not started. * * **Migrating**: Full data migration is in progress. * * **Failed**: Full data migration failed. * * **Finished**: Full data migration is completed. */ public Builder status(String status) { this.status = status; return this; } public DataInitializationStatus build() { return new DataInitializationStatus(this); } } } public static class DataSynchronizationStatus extends TeaModel { @com.aliyun.core.annotation.NameInMap("Checkpoint") private String checkpoint; @com.aliyun.core.annotation.NameInMap("Delay") private String delay; @com.aliyun.core.annotation.NameInMap("ErrorMessage") private String errorMessage; @com.aliyun.core.annotation.NameInMap("Percent") private String percent; @com.aliyun.core.annotation.NameInMap("Status") private String status; private DataSynchronizationStatus(Builder builder) { this.checkpoint = builder.checkpoint; this.delay = builder.delay; this.errorMessage = builder.errorMessage; this.percent = builder.percent; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static DataSynchronizationStatus create() { return builder().build(); } /** * @return checkpoint */ public String getCheckpoint() { return this.checkpoint; } /** * @return delay */ public String getDelay() { return this.delay; } /** * @return errorMessage */ public String getErrorMessage() { return this.errorMessage; } /** * @return percent */ public String getPercent() { return this.percent; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String checkpoint; private String delay; private String errorMessage; private String percent; private String status; /** * The UNIX timestamp generated when the latest incremental data is migrated. Unit: seconds. */ public Builder checkpoint(String checkpoint) { this.checkpoint = checkpoint; return this; } /** * The latency of incremental data migration. Unit: seconds. */ public Builder delay(String delay) { this.delay = delay; return this; } /** * The error message returned if incremental data migration failed. */ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } /** * The progress of incremental data migration. Unit: %. */ public Builder percent(String percent) { this.percent = percent; return this; } /** * The status of incremental data migration. Valid values: *

* * * **NotStarted**: Incremental data migration is not started. * * **Migrating**: Incremental data migration is in progress. * * **Failed**: Incremental data migration failed. * * **Finished**: Incremental data migration is completed. * * **Catched**: Incremental data migration is not delayed. */ public Builder status(String status) { this.status = status; return this; } public DataSynchronizationStatus build() { return new DataSynchronizationStatus(this); } } } public static class DestinationEndpoint extends TeaModel { @com.aliyun.core.annotation.NameInMap("DatabaseName") private String databaseName; @com.aliyun.core.annotation.NameInMap("EngineName") private String engineName; @com.aliyun.core.annotation.NameInMap("IP") private String ip; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("Port") private String port; @com.aliyun.core.annotation.NameInMap("UserName") private String userName; @com.aliyun.core.annotation.NameInMap("oracleSID") private String oracleSID; private DestinationEndpoint(Builder builder) { this.databaseName = builder.databaseName; this.engineName = builder.engineName; this.ip = builder.ip; this.instanceId = builder.instanceId; this.instanceType = builder.instanceType; this.port = builder.port; this.userName = builder.userName; this.oracleSID = builder.oracleSID; } public static Builder builder() { return new Builder(); } public static DestinationEndpoint create() { return builder().build(); } /** * @return databaseName */ public String getDatabaseName() { return this.databaseName; } /** * @return engineName */ public String getEngineName() { return this.engineName; } /** * @return ip */ public String getIp() { return this.ip; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return port */ public String getPort() { return this.port; } /** * @return userName */ public String getUserName() { return this.userName; } /** * @return oracleSID */ public String getOracleSID() { return this.oracleSID; } public static final class Builder { private String databaseName; private String engineName; private String ip; private String instanceId; private String instanceType; private String port; private String userName; private String oracleSID; /** * The name of the database to which the migration object in the destination instance belongs. */ public Builder databaseName(String databaseName) { this.databaseName = databaseName; return this; } /** * The database type of the destination instance. */ public Builder engineName(String engineName) { this.engineName = engineName; return this; } /** * The endpoint of the destination instance. */ public Builder ip(String ip) { this.ip = ip; return this; } /** * The ID of the destination instance. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * The type of the destination instance. */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * The database service port of the destination instance. */ public Builder port(String port) { this.port = port; return this; } /** * The database account of the destination instance. */ public Builder userName(String userName) { this.userName = userName; return this; } /** * The system ID (SID) of the Oracle database. *

* * > This parameter is returned only if the database type of the destination instance is **Oracle**. */ public Builder oracleSID(String oracleSID) { this.oracleSID = oracleSID; return this; } public DestinationEndpoint build() { return new DestinationEndpoint(this); } } } public static class MigrationMode extends TeaModel { @com.aliyun.core.annotation.NameInMap("dataInitialization") private Boolean dataInitialization; @com.aliyun.core.annotation.NameInMap("dataSynchronization") private Boolean dataSynchronization; @com.aliyun.core.annotation.NameInMap("structureInitialization") private Boolean structureInitialization; private MigrationMode(Builder builder) { this.dataInitialization = builder.dataInitialization; this.dataSynchronization = builder.dataSynchronization; this.structureInitialization = builder.structureInitialization; } public static Builder builder() { return new Builder(); } public static MigrationMode create() { return builder().build(); } /** * @return dataInitialization */ public Boolean getDataInitialization() { return this.dataInitialization; } /** * @return dataSynchronization */ public Boolean getDataSynchronization() { return this.dataSynchronization; } /** * @return structureInitialization */ public Boolean getStructureInitialization() { return this.structureInitialization; } public static final class Builder { private Boolean dataInitialization; private Boolean dataSynchronization; private Boolean structureInitialization; /** * Indicates whether full data migration is performed. Valid values: *

* * * **true**: yes * * **false**: no */ public Builder dataInitialization(Boolean dataInitialization) { this.dataInitialization = dataInitialization; return this; } /** * Indicates whether incremental data migration is performed. Valid values: *

* * * **true**: yes * * **false**: no */ public Builder dataSynchronization(Boolean dataSynchronization) { this.dataSynchronization = dataSynchronization; return this; } /** * Indicates whether schema migration is performed. Valid values: *

* * * **true**: yes * * **false**: no */ public Builder structureInitialization(Boolean structureInitialization) { this.structureInitialization = structureInitialization; return this; } public MigrationMode build() { return new MigrationMode(this); } } } public static class CheckItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("CheckStatus") private String checkStatus; @com.aliyun.core.annotation.NameInMap("ErrorMessage") private String errorMessage; @com.aliyun.core.annotation.NameInMap("ItemName") private String itemName; @com.aliyun.core.annotation.NameInMap("RepairMethod") private String repairMethod; private CheckItem(Builder builder) { this.checkStatus = builder.checkStatus; this.errorMessage = builder.errorMessage; this.itemName = builder.itemName; this.repairMethod = builder.repairMethod; } public static Builder builder() { return new Builder(); } public static CheckItem create() { return builder().build(); } /** * @return checkStatus */ public String getCheckStatus() { return this.checkStatus; } /** * @return errorMessage */ public String getErrorMessage() { return this.errorMessage; } /** * @return itemName */ public String getItemName() { return this.itemName; } /** * @return repairMethod */ public String getRepairMethod() { return this.repairMethod; } public static final class Builder { private String checkStatus; private String errorMessage; private String itemName; private String repairMethod; /** * The precheck result. Valid values: *

* * * **Success**: The task passed the precheck. * * **Failed**: The task failed to pass the precheck. */ public Builder checkStatus(String checkStatus) { this.checkStatus = checkStatus; return this; } /** * The error message returned if the task failed to pass the precheck. *

* * > This parameter is returned only if the return value of the **CheckStatus** parameter is **Failed**. */ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } /** * The name of the precheck item. */ public Builder itemName(String itemName) { this.itemName = itemName; return this; } /** * The method to fix the precheck failure. *

* * > This parameter is returned only if the return value of the **CheckStatus** parameter is **Failed**. */ public Builder repairMethod(String repairMethod) { this.repairMethod = repairMethod; return this; } public CheckItem build() { return new CheckItem(this); } } } public static class Detail extends TeaModel { @com.aliyun.core.annotation.NameInMap("CheckItem") private java.util.List < CheckItem> checkItem; private Detail(Builder builder) { this.checkItem = builder.checkItem; } public static Builder builder() { return new Builder(); } public static Detail create() { return builder().build(); } /** * @return checkItem */ public java.util.List < CheckItem> getCheckItem() { return this.checkItem; } public static final class Builder { private java.util.List < CheckItem> checkItem; /** * CheckItem. */ public Builder checkItem(java.util.List < CheckItem> checkItem) { this.checkItem = checkItem; return this; } public Detail build() { return new Detail(this); } } } public static class PrecheckStatus extends TeaModel { @com.aliyun.core.annotation.NameInMap("Detail") private Detail detail; @com.aliyun.core.annotation.NameInMap("Percent") private String percent; @com.aliyun.core.annotation.NameInMap("Status") private String status; private PrecheckStatus(Builder builder) { this.detail = builder.detail; this.percent = builder.percent; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static PrecheckStatus create() { return builder().build(); } /** * @return detail */ public Detail getDetail() { return this.detail; } /** * @return percent */ public String getPercent() { return this.percent; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private Detail detail; private String percent; private String status; /** * The result of each precheck item. */ public Builder detail(Detail detail) { this.detail = detail; return this; } /** * The precheck progress. Unit: %. */ public Builder percent(String percent) { this.percent = percent; return this; } /** * The precheck status. Valid values: *

* * * **NotStarted** * * **Suspending**: * * **Checking** * * **Failed** * * **Finished** */ public Builder status(String status) { this.status = status; return this; } public PrecheckStatus build() { return new PrecheckStatus(this); } } } public static class SourceEndpoint extends TeaModel { @com.aliyun.core.annotation.NameInMap("DatabaseName") private String databaseName; @com.aliyun.core.annotation.NameInMap("EngineName") private String engineName; @com.aliyun.core.annotation.NameInMap("IP") private String ip; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("Port") private String port; @com.aliyun.core.annotation.NameInMap("UserName") private String userName; @com.aliyun.core.annotation.NameInMap("oracleSID") private String oracleSID; private SourceEndpoint(Builder builder) { this.databaseName = builder.databaseName; this.engineName = builder.engineName; this.ip = builder.ip; this.instanceId = builder.instanceId; this.instanceType = builder.instanceType; this.port = builder.port; this.userName = builder.userName; this.oracleSID = builder.oracleSID; } public static Builder builder() { return new Builder(); } public static SourceEndpoint create() { return builder().build(); } /** * @return databaseName */ public String getDatabaseName() { return this.databaseName; } /** * @return engineName */ public String getEngineName() { return this.engineName; } /** * @return ip */ public String getIp() { return this.ip; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return port */ public String getPort() { return this.port; } /** * @return userName */ public String getUserName() { return this.userName; } /** * @return oracleSID */ public String getOracleSID() { return this.oracleSID; } public static final class Builder { private String databaseName; private String engineName; private String ip; private String instanceId; private String instanceType; private String port; private String userName; private String oracleSID; /** * The name of the database to which the migration object in the source instance belongs. */ public Builder databaseName(String databaseName) { this.databaseName = databaseName; return this; } /** * The database type of the source instance. */ public Builder engineName(String engineName) { this.engineName = engineName; return this; } /** * The endpoint of the source instance. */ public Builder ip(String ip) { this.ip = ip; return this; } /** * The ID of the source instance. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * The type of the source instance. *

* * * **RDS**: ApsaraDB RDS instance * * **ECS**: self-managed database that is hosted on Elastic Compute Service (ECS) * * **LocalInstance**: self-managed database with a public IP address * * **Express**: self-managed database that is connected over Express Connect, VPN Gateway, or Smart Access Gateway * * **MongoDB**: ApsaraDB for MongoDB instance * * **POLARDB**: PolarDB for MySQL cluster (available only for the China site) */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * The database service port of the source instance. */ public Builder port(String port) { this.port = port; return this; } /** * The database account of the source instance. */ public Builder userName(String userName) { this.userName = userName; return this; } /** * The SID of the Oracle database. *

* * > This parameter is returned only if the database type of the source instance is **Oracle**. */ public Builder oracleSID(String oracleSID) { this.oracleSID = oracleSID; return this; } public SourceEndpoint build() { return new SourceEndpoint(this); } } } public static class StructureInitializationStatus extends TeaModel { @com.aliyun.core.annotation.NameInMap("ErrorMessage") private String errorMessage; @com.aliyun.core.annotation.NameInMap("Percent") private String percent; @com.aliyun.core.annotation.NameInMap("Progress") private String progress; @com.aliyun.core.annotation.NameInMap("Status") private String status; private StructureInitializationStatus(Builder builder) { this.errorMessage = builder.errorMessage; this.percent = builder.percent; this.progress = builder.progress; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static StructureInitializationStatus create() { return builder().build(); } /** * @return errorMessage */ public String getErrorMessage() { return this.errorMessage; } /** * @return percent */ public String getPercent() { return this.percent; } /** * @return progress */ public String getProgress() { return this.progress; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String errorMessage; private String percent; private String progress; private String status; /** * The error message returned if schema migration failed. */ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } /** * The progress of schema migration. Unit: %. */ public Builder percent(String percent) { this.percent = percent; return this; } /** * The number of tables whose schemas have been migrated. */ public Builder progress(String progress) { this.progress = progress; return this; } /** * The status of schema migration. Valid values: *

* * * **NotStarted**: Schema migration is not started. * * **Migrating**: Schema migration is in progress. * * **Failed**: Schema migration failed. * * **Finished**: Schema migration is completed. */ public Builder status(String status) { this.status = status; return this; } public StructureInitializationStatus build() { return new StructureInitializationStatus(this); } } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy