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

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

// *** 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.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse {
    /**
     * @return Count of databases
     * 
     */
    private Integer databaseCount;
    /**
     * @return Number of database level errors
     * 
     */
    private Integer databaseErrorCount;
    /**
     * @return Migration end time
     * 
     */
    private String endedOn;
    /**
     * @return Result identifier
     * 
     */
    private String id;
    /**
     * @return Result type
     * Expected value is 'MigrationLevelOutput'.
     * 
     */
    private String resultType;
    /**
     * @return Source server brand version
     * 
     */
    private String sourceServerBrandVersion;
    /**
     * @return Source server name
     * 
     */
    private String sourceServerName;
    /**
     * @return Source server version
     * 
     */
    private String sourceServerVersion;
    /**
     * @return Migration start time
     * 
     */
    private String startedOn;
    /**
     * @return Current state of migration
     * 
     */
    private String state;
    /**
     * @return Target server brand version
     * 
     */
    private String targetServerBrandVersion;
    /**
     * @return Target server name
     * 
     */
    private String targetServerName;
    /**
     * @return Target server version
     * 
     */
    private String targetServerVersion;

    private MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse() {}
    /**
     * @return Count of databases
     * 
     */
    public Integer databaseCount() {
        return this.databaseCount;
    }
    /**
     * @return Number of database level errors
     * 
     */
    public Integer databaseErrorCount() {
        return this.databaseErrorCount;
    }
    /**
     * @return Migration end time
     * 
     */
    public String endedOn() {
        return this.endedOn;
    }
    /**
     * @return Result identifier
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Result type
     * Expected value is 'MigrationLevelOutput'.
     * 
     */
    public String resultType() {
        return this.resultType;
    }
    /**
     * @return Source server brand version
     * 
     */
    public String sourceServerBrandVersion() {
        return this.sourceServerBrandVersion;
    }
    /**
     * @return Source server name
     * 
     */
    public String sourceServerName() {
        return this.sourceServerName;
    }
    /**
     * @return Source server version
     * 
     */
    public String sourceServerVersion() {
        return this.sourceServerVersion;
    }
    /**
     * @return Migration start time
     * 
     */
    public String startedOn() {
        return this.startedOn;
    }
    /**
     * @return Current state of migration
     * 
     */
    public String state() {
        return this.state;
    }
    /**
     * @return Target server brand version
     * 
     */
    public String targetServerBrandVersion() {
        return this.targetServerBrandVersion;
    }
    /**
     * @return Target server name
     * 
     */
    public String targetServerName() {
        return this.targetServerName;
    }
    /**
     * @return Target server version
     * 
     */
    public String targetServerVersion() {
        return this.targetServerVersion;
    }

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

    public static Builder builder(MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer databaseCount;
        private Integer databaseErrorCount;
        private String endedOn;
        private String id;
        private String resultType;
        private String sourceServerBrandVersion;
        private String sourceServerName;
        private String sourceServerVersion;
        private String startedOn;
        private String state;
        private String targetServerBrandVersion;
        private String targetServerName;
        private String targetServerVersion;
        public Builder() {}
        public Builder(MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.databaseCount = defaults.databaseCount;
    	      this.databaseErrorCount = defaults.databaseErrorCount;
    	      this.endedOn = defaults.endedOn;
    	      this.id = defaults.id;
    	      this.resultType = defaults.resultType;
    	      this.sourceServerBrandVersion = defaults.sourceServerBrandVersion;
    	      this.sourceServerName = defaults.sourceServerName;
    	      this.sourceServerVersion = defaults.sourceServerVersion;
    	      this.startedOn = defaults.startedOn;
    	      this.state = defaults.state;
    	      this.targetServerBrandVersion = defaults.targetServerBrandVersion;
    	      this.targetServerName = defaults.targetServerName;
    	      this.targetServerVersion = defaults.targetServerVersion;
        }

        @CustomType.Setter
        public Builder databaseCount(Integer databaseCount) {
            if (databaseCount == null) {
              throw new MissingRequiredPropertyException("MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse", "databaseCount");
            }
            this.databaseCount = databaseCount;
            return this;
        }
        @CustomType.Setter
        public Builder databaseErrorCount(Integer databaseErrorCount) {
            if (databaseErrorCount == null) {
              throw new MissingRequiredPropertyException("MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse", "databaseErrorCount");
            }
            this.databaseErrorCount = databaseErrorCount;
            return this;
        }
        @CustomType.Setter
        public Builder endedOn(String endedOn) {
            if (endedOn == null) {
              throw new MissingRequiredPropertyException("MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse", "endedOn");
            }
            this.endedOn = endedOn;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder resultType(String resultType) {
            if (resultType == null) {
              throw new MissingRequiredPropertyException("MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse", "resultType");
            }
            this.resultType = resultType;
            return this;
        }
        @CustomType.Setter
        public Builder sourceServerBrandVersion(String sourceServerBrandVersion) {
            if (sourceServerBrandVersion == null) {
              throw new MissingRequiredPropertyException("MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse", "sourceServerBrandVersion");
            }
            this.sourceServerBrandVersion = sourceServerBrandVersion;
            return this;
        }
        @CustomType.Setter
        public Builder sourceServerName(String sourceServerName) {
            if (sourceServerName == null) {
              throw new MissingRequiredPropertyException("MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse", "sourceServerName");
            }
            this.sourceServerName = sourceServerName;
            return this;
        }
        @CustomType.Setter
        public Builder sourceServerVersion(String sourceServerVersion) {
            if (sourceServerVersion == null) {
              throw new MissingRequiredPropertyException("MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse", "sourceServerVersion");
            }
            this.sourceServerVersion = sourceServerVersion;
            return this;
        }
        @CustomType.Setter
        public Builder startedOn(String startedOn) {
            if (startedOn == null) {
              throw new MissingRequiredPropertyException("MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse", "startedOn");
            }
            this.startedOn = startedOn;
            return this;
        }
        @CustomType.Setter
        public Builder state(String state) {
            if (state == null) {
              throw new MissingRequiredPropertyException("MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse", "state");
            }
            this.state = state;
            return this;
        }
        @CustomType.Setter
        public Builder targetServerBrandVersion(String targetServerBrandVersion) {
            if (targetServerBrandVersion == null) {
              throw new MissingRequiredPropertyException("MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse", "targetServerBrandVersion");
            }
            this.targetServerBrandVersion = targetServerBrandVersion;
            return this;
        }
        @CustomType.Setter
        public Builder targetServerName(String targetServerName) {
            if (targetServerName == null) {
              throw new MissingRequiredPropertyException("MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse", "targetServerName");
            }
            this.targetServerName = targetServerName;
            return this;
        }
        @CustomType.Setter
        public Builder targetServerVersion(String targetServerVersion) {
            if (targetServerVersion == null) {
              throw new MissingRequiredPropertyException("MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse", "targetServerVersion");
            }
            this.targetServerVersion = targetServerVersion;
            return this;
        }
        public MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse build() {
            final var _resultValue = new MigrateSqlServerSqlMISyncTaskOutputMigrationLevelResponse();
            _resultValue.databaseCount = databaseCount;
            _resultValue.databaseErrorCount = databaseErrorCount;
            _resultValue.endedOn = endedOn;
            _resultValue.id = id;
            _resultValue.resultType = resultType;
            _resultValue.sourceServerBrandVersion = sourceServerBrandVersion;
            _resultValue.sourceServerName = sourceServerName;
            _resultValue.sourceServerVersion = sourceServerVersion;
            _resultValue.startedOn = startedOn;
            _resultValue.state = state;
            _resultValue.targetServerBrandVersion = targetServerBrandVersion;
            _resultValue.targetServerName = targetServerName;
            _resultValue.targetServerVersion = targetServerVersion;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy