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

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

There is a newer version: 2.89.2
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 DatabaseSummaryResultResponse {
    /**
     * @return Migration end time
     * 
     */
    private String endedOn;
    /**
     * @return Wildcard string prefix to use for querying all errors of the item
     * 
     */
    private String errorPrefix;
    /**
     * @return Number of successfully completed items
     * 
     */
    private Double itemsCompletedCount;
    /**
     * @return Number of items
     * 
     */
    private Double itemsCount;
    /**
     * @return Name of the item
     * 
     */
    private String name;
    /**
     * @return Wildcard string prefix to use for querying all sub-tem results of the item
     * 
     */
    private String resultPrefix;
    /**
     * @return Size of the database in megabytes
     * 
     */
    private Double sizeMB;
    /**
     * @return Migration start time
     * 
     */
    private String startedOn;
    /**
     * @return Current state of migration
     * 
     */
    private String state;
    /**
     * @return Status message
     * 
     */
    private String statusMessage;

    private DatabaseSummaryResultResponse() {}
    /**
     * @return Migration end time
     * 
     */
    public String endedOn() {
        return this.endedOn;
    }
    /**
     * @return Wildcard string prefix to use for querying all errors of the item
     * 
     */
    public String errorPrefix() {
        return this.errorPrefix;
    }
    /**
     * @return Number of successfully completed items
     * 
     */
    public Double itemsCompletedCount() {
        return this.itemsCompletedCount;
    }
    /**
     * @return Number of items
     * 
     */
    public Double itemsCount() {
        return this.itemsCount;
    }
    /**
     * @return Name of the item
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Wildcard string prefix to use for querying all sub-tem results of the item
     * 
     */
    public String resultPrefix() {
        return this.resultPrefix;
    }
    /**
     * @return Size of the database in megabytes
     * 
     */
    public Double sizeMB() {
        return this.sizeMB;
    }
    /**
     * @return Migration start time
     * 
     */
    public String startedOn() {
        return this.startedOn;
    }
    /**
     * @return Current state of migration
     * 
     */
    public String state() {
        return this.state;
    }
    /**
     * @return Status message
     * 
     */
    public String statusMessage() {
        return this.statusMessage;
    }

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

    public static Builder builder(DatabaseSummaryResultResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String endedOn;
        private String errorPrefix;
        private Double itemsCompletedCount;
        private Double itemsCount;
        private String name;
        private String resultPrefix;
        private Double sizeMB;
        private String startedOn;
        private String state;
        private String statusMessage;
        public Builder() {}
        public Builder(DatabaseSummaryResultResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.endedOn = defaults.endedOn;
    	      this.errorPrefix = defaults.errorPrefix;
    	      this.itemsCompletedCount = defaults.itemsCompletedCount;
    	      this.itemsCount = defaults.itemsCount;
    	      this.name = defaults.name;
    	      this.resultPrefix = defaults.resultPrefix;
    	      this.sizeMB = defaults.sizeMB;
    	      this.startedOn = defaults.startedOn;
    	      this.state = defaults.state;
    	      this.statusMessage = defaults.statusMessage;
        }

        @CustomType.Setter
        public Builder endedOn(String endedOn) {
            if (endedOn == null) {
              throw new MissingRequiredPropertyException("DatabaseSummaryResultResponse", "endedOn");
            }
            this.endedOn = endedOn;
            return this;
        }
        @CustomType.Setter
        public Builder errorPrefix(String errorPrefix) {
            if (errorPrefix == null) {
              throw new MissingRequiredPropertyException("DatabaseSummaryResultResponse", "errorPrefix");
            }
            this.errorPrefix = errorPrefix;
            return this;
        }
        @CustomType.Setter
        public Builder itemsCompletedCount(Double itemsCompletedCount) {
            if (itemsCompletedCount == null) {
              throw new MissingRequiredPropertyException("DatabaseSummaryResultResponse", "itemsCompletedCount");
            }
            this.itemsCompletedCount = itemsCompletedCount;
            return this;
        }
        @CustomType.Setter
        public Builder itemsCount(Double itemsCount) {
            if (itemsCount == null) {
              throw new MissingRequiredPropertyException("DatabaseSummaryResultResponse", "itemsCount");
            }
            this.itemsCount = itemsCount;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("DatabaseSummaryResultResponse", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder resultPrefix(String resultPrefix) {
            if (resultPrefix == null) {
              throw new MissingRequiredPropertyException("DatabaseSummaryResultResponse", "resultPrefix");
            }
            this.resultPrefix = resultPrefix;
            return this;
        }
        @CustomType.Setter
        public Builder sizeMB(Double sizeMB) {
            if (sizeMB == null) {
              throw new MissingRequiredPropertyException("DatabaseSummaryResultResponse", "sizeMB");
            }
            this.sizeMB = sizeMB;
            return this;
        }
        @CustomType.Setter
        public Builder startedOn(String startedOn) {
            if (startedOn == null) {
              throw new MissingRequiredPropertyException("DatabaseSummaryResultResponse", "startedOn");
            }
            this.startedOn = startedOn;
            return this;
        }
        @CustomType.Setter
        public Builder state(String state) {
            if (state == null) {
              throw new MissingRequiredPropertyException("DatabaseSummaryResultResponse", "state");
            }
            this.state = state;
            return this;
        }
        @CustomType.Setter
        public Builder statusMessage(String statusMessage) {
            if (statusMessage == null) {
              throw new MissingRequiredPropertyException("DatabaseSummaryResultResponse", "statusMessage");
            }
            this.statusMessage = statusMessage;
            return this;
        }
        public DatabaseSummaryResultResponse build() {
            final var _resultValue = new DatabaseSummaryResultResponse();
            _resultValue.endedOn = endedOn;
            _resultValue.errorPrefix = errorPrefix;
            _resultValue.itemsCompletedCount = itemsCompletedCount;
            _resultValue.itemsCount = itemsCount;
            _resultValue.name = name;
            _resultValue.resultPrefix = resultPrefix;
            _resultValue.sizeMB = sizeMB;
            _resultValue.startedOn = startedOn;
            _resultValue.state = state;
            _resultValue.statusMessage = statusMessage;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy