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

com.pulumi.azurenative.recoveryservices.outputs.InMageRcmFailbackSyncDetailsResponse 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.recoveryservices.outputs;

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

@CustomType
public final class InMageRcmFailbackSyncDetailsResponse {
    /**
     * @return The bytes transferred in last 15 minutes from source VM to target.
     * 
     */
    private Double last15MinutesTransferredBytes;
    /**
     * @return The time of the last data transfer from source VM to target.
     * 
     */
    private String lastDataTransferTimeUtc;
    /**
     * @return The last refresh time.
     * 
     */
    private String lastRefreshTime;
    /**
     * @return The total processed bytes. This includes bytes that are transferred from source VM to target and matched bytes.
     * 
     */
    private Double processedBytes;
    /**
     * @return The progress health.
     * 
     */
    private String progressHealth;
    /**
     * @return Progress in percentage. Progress percentage is calculated based on processed bytes.
     * 
     */
    private Integer progressPercentage;
    /**
     * @return The start time.
     * 
     */
    private String startTime;
    /**
     * @return The transferred bytes from source VM to azure for the disk.
     * 
     */
    private Double transferredBytes;

    private InMageRcmFailbackSyncDetailsResponse() {}
    /**
     * @return The bytes transferred in last 15 minutes from source VM to target.
     * 
     */
    public Double last15MinutesTransferredBytes() {
        return this.last15MinutesTransferredBytes;
    }
    /**
     * @return The time of the last data transfer from source VM to target.
     * 
     */
    public String lastDataTransferTimeUtc() {
        return this.lastDataTransferTimeUtc;
    }
    /**
     * @return The last refresh time.
     * 
     */
    public String lastRefreshTime() {
        return this.lastRefreshTime;
    }
    /**
     * @return The total processed bytes. This includes bytes that are transferred from source VM to target and matched bytes.
     * 
     */
    public Double processedBytes() {
        return this.processedBytes;
    }
    /**
     * @return The progress health.
     * 
     */
    public String progressHealth() {
        return this.progressHealth;
    }
    /**
     * @return Progress in percentage. Progress percentage is calculated based on processed bytes.
     * 
     */
    public Integer progressPercentage() {
        return this.progressPercentage;
    }
    /**
     * @return The start time.
     * 
     */
    public String startTime() {
        return this.startTime;
    }
    /**
     * @return The transferred bytes from source VM to azure for the disk.
     * 
     */
    public Double transferredBytes() {
        return this.transferredBytes;
    }

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

    public static Builder builder(InMageRcmFailbackSyncDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Double last15MinutesTransferredBytes;
        private String lastDataTransferTimeUtc;
        private String lastRefreshTime;
        private Double processedBytes;
        private String progressHealth;
        private Integer progressPercentage;
        private String startTime;
        private Double transferredBytes;
        public Builder() {}
        public Builder(InMageRcmFailbackSyncDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.last15MinutesTransferredBytes = defaults.last15MinutesTransferredBytes;
    	      this.lastDataTransferTimeUtc = defaults.lastDataTransferTimeUtc;
    	      this.lastRefreshTime = defaults.lastRefreshTime;
    	      this.processedBytes = defaults.processedBytes;
    	      this.progressHealth = defaults.progressHealth;
    	      this.progressPercentage = defaults.progressPercentage;
    	      this.startTime = defaults.startTime;
    	      this.transferredBytes = defaults.transferredBytes;
        }

        @CustomType.Setter
        public Builder last15MinutesTransferredBytes(Double last15MinutesTransferredBytes) {
            if (last15MinutesTransferredBytes == null) {
              throw new MissingRequiredPropertyException("InMageRcmFailbackSyncDetailsResponse", "last15MinutesTransferredBytes");
            }
            this.last15MinutesTransferredBytes = last15MinutesTransferredBytes;
            return this;
        }
        @CustomType.Setter
        public Builder lastDataTransferTimeUtc(String lastDataTransferTimeUtc) {
            if (lastDataTransferTimeUtc == null) {
              throw new MissingRequiredPropertyException("InMageRcmFailbackSyncDetailsResponse", "lastDataTransferTimeUtc");
            }
            this.lastDataTransferTimeUtc = lastDataTransferTimeUtc;
            return this;
        }
        @CustomType.Setter
        public Builder lastRefreshTime(String lastRefreshTime) {
            if (lastRefreshTime == null) {
              throw new MissingRequiredPropertyException("InMageRcmFailbackSyncDetailsResponse", "lastRefreshTime");
            }
            this.lastRefreshTime = lastRefreshTime;
            return this;
        }
        @CustomType.Setter
        public Builder processedBytes(Double processedBytes) {
            if (processedBytes == null) {
              throw new MissingRequiredPropertyException("InMageRcmFailbackSyncDetailsResponse", "processedBytes");
            }
            this.processedBytes = processedBytes;
            return this;
        }
        @CustomType.Setter
        public Builder progressHealth(String progressHealth) {
            if (progressHealth == null) {
              throw new MissingRequiredPropertyException("InMageRcmFailbackSyncDetailsResponse", "progressHealth");
            }
            this.progressHealth = progressHealth;
            return this;
        }
        @CustomType.Setter
        public Builder progressPercentage(Integer progressPercentage) {
            if (progressPercentage == null) {
              throw new MissingRequiredPropertyException("InMageRcmFailbackSyncDetailsResponse", "progressPercentage");
            }
            this.progressPercentage = progressPercentage;
            return this;
        }
        @CustomType.Setter
        public Builder startTime(String startTime) {
            if (startTime == null) {
              throw new MissingRequiredPropertyException("InMageRcmFailbackSyncDetailsResponse", "startTime");
            }
            this.startTime = startTime;
            return this;
        }
        @CustomType.Setter
        public Builder transferredBytes(Double transferredBytes) {
            if (transferredBytes == null) {
              throw new MissingRequiredPropertyException("InMageRcmFailbackSyncDetailsResponse", "transferredBytes");
            }
            this.transferredBytes = transferredBytes;
            return this;
        }
        public InMageRcmFailbackSyncDetailsResponse build() {
            final var _resultValue = new InMageRcmFailbackSyncDetailsResponse();
            _resultValue.last15MinutesTransferredBytes = last15MinutesTransferredBytes;
            _resultValue.lastDataTransferTimeUtc = lastDataTransferTimeUtc;
            _resultValue.lastRefreshTime = lastRefreshTime;
            _resultValue.processedBytes = processedBytes;
            _resultValue.progressHealth = progressHealth;
            _resultValue.progressPercentage = progressPercentage;
            _resultValue.startTime = startTime;
            _resultValue.transferredBytes = transferredBytes;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy