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

com.pulumi.azurenative.datamigration.outputs.MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse 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.Double;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse {
    /**
     * @return Number of applied deletes
     * 
     */
    private String cdcDeleteCounter;
    /**
     * @return Number of applied inserts
     * 
     */
    private String cdcInsertCounter;
    /**
     * @return Number of applied updates
     * 
     */
    private String cdcUpdateCounter;
    /**
     * @return Number of data errors occurred
     * 
     */
    private Double dataErrorsCounter;
    /**
     * @return Name of the database
     * 
     */
    private String databaseName;
    /**
     * @return Full load end time
     * 
     */
    private String fullLoadEndedOn;
    /**
     * @return Estimate to finish full load
     * 
     */
    private String fullLoadEstFinishTime;
    /**
     * @return Full load start time
     * 
     */
    private String fullLoadStartedOn;
    /**
     * @return Number of rows applied in full load
     * 
     */
    private Double fullLoadTotalRows;
    /**
     * @return Result identifier
     * 
     */
    private String id;
    /**
     * @return Last modified time on target
     * 
     */
    private String lastModifiedTime;
    /**
     * @return Result type
     * Expected value is 'TableLevelOutput'.
     * 
     */
    private String resultType;
    /**
     * @return Current state of the table migration
     * 
     */
    private String state;
    /**
     * @return Name of the table
     * 
     */
    private String tableName;
    /**
     * @return Total number of applied changes
     * 
     */
    private Double totalChangesApplied;

    private MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse() {}
    /**
     * @return Number of applied deletes
     * 
     */
    public String cdcDeleteCounter() {
        return this.cdcDeleteCounter;
    }
    /**
     * @return Number of applied inserts
     * 
     */
    public String cdcInsertCounter() {
        return this.cdcInsertCounter;
    }
    /**
     * @return Number of applied updates
     * 
     */
    public String cdcUpdateCounter() {
        return this.cdcUpdateCounter;
    }
    /**
     * @return Number of data errors occurred
     * 
     */
    public Double dataErrorsCounter() {
        return this.dataErrorsCounter;
    }
    /**
     * @return Name of the database
     * 
     */
    public String databaseName() {
        return this.databaseName;
    }
    /**
     * @return Full load end time
     * 
     */
    public String fullLoadEndedOn() {
        return this.fullLoadEndedOn;
    }
    /**
     * @return Estimate to finish full load
     * 
     */
    public String fullLoadEstFinishTime() {
        return this.fullLoadEstFinishTime;
    }
    /**
     * @return Full load start time
     * 
     */
    public String fullLoadStartedOn() {
        return this.fullLoadStartedOn;
    }
    /**
     * @return Number of rows applied in full load
     * 
     */
    public Double fullLoadTotalRows() {
        return this.fullLoadTotalRows;
    }
    /**
     * @return Result identifier
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Last modified time on target
     * 
     */
    public String lastModifiedTime() {
        return this.lastModifiedTime;
    }
    /**
     * @return Result type
     * Expected value is 'TableLevelOutput'.
     * 
     */
    public String resultType() {
        return this.resultType;
    }
    /**
     * @return Current state of the table migration
     * 
     */
    public String state() {
        return this.state;
    }
    /**
     * @return Name of the table
     * 
     */
    public String tableName() {
        return this.tableName;
    }
    /**
     * @return Total number of applied changes
     * 
     */
    public Double totalChangesApplied() {
        return this.totalChangesApplied;
    }

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

    public static Builder builder(MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String cdcDeleteCounter;
        private String cdcInsertCounter;
        private String cdcUpdateCounter;
        private Double dataErrorsCounter;
        private String databaseName;
        private String fullLoadEndedOn;
        private String fullLoadEstFinishTime;
        private String fullLoadStartedOn;
        private Double fullLoadTotalRows;
        private String id;
        private String lastModifiedTime;
        private String resultType;
        private String state;
        private String tableName;
        private Double totalChangesApplied;
        public Builder() {}
        public Builder(MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cdcDeleteCounter = defaults.cdcDeleteCounter;
    	      this.cdcInsertCounter = defaults.cdcInsertCounter;
    	      this.cdcUpdateCounter = defaults.cdcUpdateCounter;
    	      this.dataErrorsCounter = defaults.dataErrorsCounter;
    	      this.databaseName = defaults.databaseName;
    	      this.fullLoadEndedOn = defaults.fullLoadEndedOn;
    	      this.fullLoadEstFinishTime = defaults.fullLoadEstFinishTime;
    	      this.fullLoadStartedOn = defaults.fullLoadStartedOn;
    	      this.fullLoadTotalRows = defaults.fullLoadTotalRows;
    	      this.id = defaults.id;
    	      this.lastModifiedTime = defaults.lastModifiedTime;
    	      this.resultType = defaults.resultType;
    	      this.state = defaults.state;
    	      this.tableName = defaults.tableName;
    	      this.totalChangesApplied = defaults.totalChangesApplied;
        }

        @CustomType.Setter
        public Builder cdcDeleteCounter(String cdcDeleteCounter) {
            if (cdcDeleteCounter == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse", "cdcDeleteCounter");
            }
            this.cdcDeleteCounter = cdcDeleteCounter;
            return this;
        }
        @CustomType.Setter
        public Builder cdcInsertCounter(String cdcInsertCounter) {
            if (cdcInsertCounter == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse", "cdcInsertCounter");
            }
            this.cdcInsertCounter = cdcInsertCounter;
            return this;
        }
        @CustomType.Setter
        public Builder cdcUpdateCounter(String cdcUpdateCounter) {
            if (cdcUpdateCounter == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse", "cdcUpdateCounter");
            }
            this.cdcUpdateCounter = cdcUpdateCounter;
            return this;
        }
        @CustomType.Setter
        public Builder dataErrorsCounter(Double dataErrorsCounter) {
            if (dataErrorsCounter == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse", "dataErrorsCounter");
            }
            this.dataErrorsCounter = dataErrorsCounter;
            return this;
        }
        @CustomType.Setter
        public Builder databaseName(String databaseName) {
            if (databaseName == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse", "databaseName");
            }
            this.databaseName = databaseName;
            return this;
        }
        @CustomType.Setter
        public Builder fullLoadEndedOn(String fullLoadEndedOn) {
            if (fullLoadEndedOn == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse", "fullLoadEndedOn");
            }
            this.fullLoadEndedOn = fullLoadEndedOn;
            return this;
        }
        @CustomType.Setter
        public Builder fullLoadEstFinishTime(String fullLoadEstFinishTime) {
            if (fullLoadEstFinishTime == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse", "fullLoadEstFinishTime");
            }
            this.fullLoadEstFinishTime = fullLoadEstFinishTime;
            return this;
        }
        @CustomType.Setter
        public Builder fullLoadStartedOn(String fullLoadStartedOn) {
            if (fullLoadStartedOn == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse", "fullLoadStartedOn");
            }
            this.fullLoadStartedOn = fullLoadStartedOn;
            return this;
        }
        @CustomType.Setter
        public Builder fullLoadTotalRows(Double fullLoadTotalRows) {
            if (fullLoadTotalRows == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse", "fullLoadTotalRows");
            }
            this.fullLoadTotalRows = fullLoadTotalRows;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder lastModifiedTime(String lastModifiedTime) {
            if (lastModifiedTime == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse", "lastModifiedTime");
            }
            this.lastModifiedTime = lastModifiedTime;
            return this;
        }
        @CustomType.Setter
        public Builder resultType(String resultType) {
            if (resultType == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse", "resultType");
            }
            this.resultType = resultType;
            return this;
        }
        @CustomType.Setter
        public Builder state(String state) {
            if (state == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse", "state");
            }
            this.state = state;
            return this;
        }
        @CustomType.Setter
        public Builder tableName(String tableName) {
            if (tableName == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse", "tableName");
            }
            this.tableName = tableName;
            return this;
        }
        @CustomType.Setter
        public Builder totalChangesApplied(Double totalChangesApplied) {
            if (totalChangesApplied == null) {
              throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse", "totalChangesApplied");
            }
            this.totalChangesApplied = totalChangesApplied;
            return this;
        }
        public MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse build() {
            final var _resultValue = new MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevelResponse();
            _resultValue.cdcDeleteCounter = cdcDeleteCounter;
            _resultValue.cdcInsertCounter = cdcInsertCounter;
            _resultValue.cdcUpdateCounter = cdcUpdateCounter;
            _resultValue.dataErrorsCounter = dataErrorsCounter;
            _resultValue.databaseName = databaseName;
            _resultValue.fullLoadEndedOn = fullLoadEndedOn;
            _resultValue.fullLoadEstFinishTime = fullLoadEstFinishTime;
            _resultValue.fullLoadStartedOn = fullLoadStartedOn;
            _resultValue.fullLoadTotalRows = fullLoadTotalRows;
            _resultValue.id = id;
            _resultValue.lastModifiedTime = lastModifiedTime;
            _resultValue.resultType = resultType;
            _resultValue.state = state;
            _resultValue.tableName = tableName;
            _resultValue.totalChangesApplied = totalChangesApplied;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy