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

com.pulumi.azurenative.datamigration.outputs.MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.datamigration.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse {
    /**
     * @return Number of applied changes
     * 
     */
    private Double appliedChanges;
    /**
     * @return Number of cdc deletes
     * 
     */
    private Double cdcDeleteCounter;
    /**
     * @return Number of cdc inserts
     * 
     */
    private Double cdcInsertCounter;
    /**
     * @return Number of cdc updates
     * 
     */
    private Double cdcUpdateCounter;
    /**
     * @return Name of the database
     * 
     */
    private String databaseName;
    /**
     * @return Migration end time
     * 
     */
    private String endedOn;
    /**
     * @return Number of tables completed in full load
     * 
     */
    private Double fullLoadCompletedTables;
    /**
     * @return Number of tables errored in full load
     * 
     */
    private Double fullLoadErroredTables;
    /**
     * @return Number of tables loading in full load
     * 
     */
    private Double fullLoadLoadingTables;
    /**
     * @return Number of tables queued in full load
     * 
     */
    private Double fullLoadQueuedTables;
    /**
     * @return Result identifier
     * 
     */
    private String id;
    /**
     * @return Number of incoming changes
     * 
     */
    private Double incomingChanges;
    /**
     * @return Indicates if initial load (full load) has been completed
     * 
     */
    private Boolean initializationCompleted;
    /**
     * @return CDC apply latency
     * 
     */
    private Double latency;
    /**
     * @return Migration state that this database is in
     * 
     */
    private String migrationState;
    /**
     * @return Result type
     * Expected value is 'DatabaseLevelOutput'.
     * 
     */
    private String resultType;
    /**
     * @return Migration start time
     * 
     */
    private String startedOn;

    private MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse() {}
    /**
     * @return Number of applied changes
     * 
     */
    public Double appliedChanges() {
        return this.appliedChanges;
    }
    /**
     * @return Number of cdc deletes
     * 
     */
    public Double cdcDeleteCounter() {
        return this.cdcDeleteCounter;
    }
    /**
     * @return Number of cdc inserts
     * 
     */
    public Double cdcInsertCounter() {
        return this.cdcInsertCounter;
    }
    /**
     * @return Number of cdc updates
     * 
     */
    public Double cdcUpdateCounter() {
        return this.cdcUpdateCounter;
    }
    /**
     * @return Name of the database
     * 
     */
    public String databaseName() {
        return this.databaseName;
    }
    /**
     * @return Migration end time
     * 
     */
    public String endedOn() {
        return this.endedOn;
    }
    /**
     * @return Number of tables completed in full load
     * 
     */
    public Double fullLoadCompletedTables() {
        return this.fullLoadCompletedTables;
    }
    /**
     * @return Number of tables errored in full load
     * 
     */
    public Double fullLoadErroredTables() {
        return this.fullLoadErroredTables;
    }
    /**
     * @return Number of tables loading in full load
     * 
     */
    public Double fullLoadLoadingTables() {
        return this.fullLoadLoadingTables;
    }
    /**
     * @return Number of tables queued in full load
     * 
     */
    public Double fullLoadQueuedTables() {
        return this.fullLoadQueuedTables;
    }
    /**
     * @return Result identifier
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Number of incoming changes
     * 
     */
    public Double incomingChanges() {
        return this.incomingChanges;
    }
    /**
     * @return Indicates if initial load (full load) has been completed
     * 
     */
    public Boolean initializationCompleted() {
        return this.initializationCompleted;
    }
    /**
     * @return CDC apply latency
     * 
     */
    public Double latency() {
        return this.latency;
    }
    /**
     * @return Migration state that this database is in
     * 
     */
    public String migrationState() {
        return this.migrationState;
    }
    /**
     * @return Result type
     * Expected value is 'DatabaseLevelOutput'.
     * 
     */
    public String resultType() {
        return this.resultType;
    }
    /**
     * @return Migration start time
     * 
     */
    public String startedOn() {
        return this.startedOn;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Double appliedChanges;
        private Double cdcDeleteCounter;
        private Double cdcInsertCounter;
        private Double cdcUpdateCounter;
        private String databaseName;
        private String endedOn;
        private Double fullLoadCompletedTables;
        private Double fullLoadErroredTables;
        private Double fullLoadLoadingTables;
        private Double fullLoadQueuedTables;
        private String id;
        private Double incomingChanges;
        private Boolean initializationCompleted;
        private Double latency;
        private String migrationState;
        private String resultType;
        private String startedOn;
        public Builder() {}
        public Builder(MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.appliedChanges = defaults.appliedChanges;
    	      this.cdcDeleteCounter = defaults.cdcDeleteCounter;
    	      this.cdcInsertCounter = defaults.cdcInsertCounter;
    	      this.cdcUpdateCounter = defaults.cdcUpdateCounter;
    	      this.databaseName = defaults.databaseName;
    	      this.endedOn = defaults.endedOn;
    	      this.fullLoadCompletedTables = defaults.fullLoadCompletedTables;
    	      this.fullLoadErroredTables = defaults.fullLoadErroredTables;
    	      this.fullLoadLoadingTables = defaults.fullLoadLoadingTables;
    	      this.fullLoadQueuedTables = defaults.fullLoadQueuedTables;
    	      this.id = defaults.id;
    	      this.incomingChanges = defaults.incomingChanges;
    	      this.initializationCompleted = defaults.initializationCompleted;
    	      this.latency = defaults.latency;
    	      this.migrationState = defaults.migrationState;
    	      this.resultType = defaults.resultType;
    	      this.startedOn = defaults.startedOn;
        }

        @CustomType.Setter
        public Builder appliedChanges(Double appliedChanges) {
            if (appliedChanges == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "appliedChanges");
            }
            this.appliedChanges = appliedChanges;
            return this;
        }
        @CustomType.Setter
        public Builder cdcDeleteCounter(Double cdcDeleteCounter) {
            if (cdcDeleteCounter == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "cdcDeleteCounter");
            }
            this.cdcDeleteCounter = cdcDeleteCounter;
            return this;
        }
        @CustomType.Setter
        public Builder cdcInsertCounter(Double cdcInsertCounter) {
            if (cdcInsertCounter == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "cdcInsertCounter");
            }
            this.cdcInsertCounter = cdcInsertCounter;
            return this;
        }
        @CustomType.Setter
        public Builder cdcUpdateCounter(Double cdcUpdateCounter) {
            if (cdcUpdateCounter == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "cdcUpdateCounter");
            }
            this.cdcUpdateCounter = cdcUpdateCounter;
            return this;
        }
        @CustomType.Setter
        public Builder databaseName(String databaseName) {
            if (databaseName == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "databaseName");
            }
            this.databaseName = databaseName;
            return this;
        }
        @CustomType.Setter
        public Builder endedOn(String endedOn) {
            if (endedOn == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "endedOn");
            }
            this.endedOn = endedOn;
            return this;
        }
        @CustomType.Setter
        public Builder fullLoadCompletedTables(Double fullLoadCompletedTables) {
            if (fullLoadCompletedTables == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "fullLoadCompletedTables");
            }
            this.fullLoadCompletedTables = fullLoadCompletedTables;
            return this;
        }
        @CustomType.Setter
        public Builder fullLoadErroredTables(Double fullLoadErroredTables) {
            if (fullLoadErroredTables == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "fullLoadErroredTables");
            }
            this.fullLoadErroredTables = fullLoadErroredTables;
            return this;
        }
        @CustomType.Setter
        public Builder fullLoadLoadingTables(Double fullLoadLoadingTables) {
            if (fullLoadLoadingTables == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "fullLoadLoadingTables");
            }
            this.fullLoadLoadingTables = fullLoadLoadingTables;
            return this;
        }
        @CustomType.Setter
        public Builder fullLoadQueuedTables(Double fullLoadQueuedTables) {
            if (fullLoadQueuedTables == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "fullLoadQueuedTables");
            }
            this.fullLoadQueuedTables = fullLoadQueuedTables;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder incomingChanges(Double incomingChanges) {
            if (incomingChanges == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "incomingChanges");
            }
            this.incomingChanges = incomingChanges;
            return this;
        }
        @CustomType.Setter
        public Builder initializationCompleted(Boolean initializationCompleted) {
            if (initializationCompleted == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "initializationCompleted");
            }
            this.initializationCompleted = initializationCompleted;
            return this;
        }
        @CustomType.Setter
        public Builder latency(Double latency) {
            if (latency == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "latency");
            }
            this.latency = latency;
            return this;
        }
        @CustomType.Setter
        public Builder migrationState(String migrationState) {
            if (migrationState == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "migrationState");
            }
            this.migrationState = migrationState;
            return this;
        }
        @CustomType.Setter
        public Builder resultType(String resultType) {
            if (resultType == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "resultType");
            }
            this.resultType = resultType;
            return this;
        }
        @CustomType.Setter
        public Builder startedOn(String startedOn) {
            if (startedOn == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse", "startedOn");
            }
            this.startedOn = startedOn;
            return this;
        }
        public MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse build() {
            final var _resultValue = new MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevelResponse();
            _resultValue.appliedChanges = appliedChanges;
            _resultValue.cdcDeleteCounter = cdcDeleteCounter;
            _resultValue.cdcInsertCounter = cdcInsertCounter;
            _resultValue.cdcUpdateCounter = cdcUpdateCounter;
            _resultValue.databaseName = databaseName;
            _resultValue.endedOn = endedOn;
            _resultValue.fullLoadCompletedTables = fullLoadCompletedTables;
            _resultValue.fullLoadErroredTables = fullLoadErroredTables;
            _resultValue.fullLoadLoadingTables = fullLoadLoadingTables;
            _resultValue.fullLoadQueuedTables = fullLoadQueuedTables;
            _resultValue.id = id;
            _resultValue.incomingChanges = incomingChanges;
            _resultValue.initializationCompleted = initializationCompleted;
            _resultValue.latency = latency;
            _resultValue.migrationState = migrationState;
            _resultValue.resultType = resultType;
            _resultValue.startedOn = startedOn;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy