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

com.pulumi.azurenative.storagesync.outputs.ServerEndpointSyncActivityStatusResponse Maven / Gradle / Ivy

There is a newer version: 2.82.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.storagesync.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 ServerEndpointSyncActivityStatusResponse {
    /**
     * @return Applied bytes
     * 
     */
    private Double appliedBytes;
    /**
     * @return Applied item count.
     * 
     */
    private Double appliedItemCount;
    /**
     * @return Per item error count
     * 
     */
    private Double perItemErrorCount;
    /**
     * @return Session minutes remaining (if available)
     * 
     */
    private Integer sessionMinutesRemaining;
    /**
     * @return Sync mode
     * 
     */
    private String syncMode;
    /**
     * @return Timestamp when properties were updated
     * 
     */
    private String timestamp;
    /**
     * @return Total bytes (if available)
     * 
     */
    private Double totalBytes;
    /**
     * @return Total item count (if available)
     * 
     */
    private Double totalItemCount;

    private ServerEndpointSyncActivityStatusResponse() {}
    /**
     * @return Applied bytes
     * 
     */
    public Double appliedBytes() {
        return this.appliedBytes;
    }
    /**
     * @return Applied item count.
     * 
     */
    public Double appliedItemCount() {
        return this.appliedItemCount;
    }
    /**
     * @return Per item error count
     * 
     */
    public Double perItemErrorCount() {
        return this.perItemErrorCount;
    }
    /**
     * @return Session minutes remaining (if available)
     * 
     */
    public Integer sessionMinutesRemaining() {
        return this.sessionMinutesRemaining;
    }
    /**
     * @return Sync mode
     * 
     */
    public String syncMode() {
        return this.syncMode;
    }
    /**
     * @return Timestamp when properties were updated
     * 
     */
    public String timestamp() {
        return this.timestamp;
    }
    /**
     * @return Total bytes (if available)
     * 
     */
    public Double totalBytes() {
        return this.totalBytes;
    }
    /**
     * @return Total item count (if available)
     * 
     */
    public Double totalItemCount() {
        return this.totalItemCount;
    }

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

    public static Builder builder(ServerEndpointSyncActivityStatusResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Double appliedBytes;
        private Double appliedItemCount;
        private Double perItemErrorCount;
        private Integer sessionMinutesRemaining;
        private String syncMode;
        private String timestamp;
        private Double totalBytes;
        private Double totalItemCount;
        public Builder() {}
        public Builder(ServerEndpointSyncActivityStatusResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.appliedBytes = defaults.appliedBytes;
    	      this.appliedItemCount = defaults.appliedItemCount;
    	      this.perItemErrorCount = defaults.perItemErrorCount;
    	      this.sessionMinutesRemaining = defaults.sessionMinutesRemaining;
    	      this.syncMode = defaults.syncMode;
    	      this.timestamp = defaults.timestamp;
    	      this.totalBytes = defaults.totalBytes;
    	      this.totalItemCount = defaults.totalItemCount;
        }

        @CustomType.Setter
        public Builder appliedBytes(Double appliedBytes) {
            if (appliedBytes == null) {
              throw new MissingRequiredPropertyException("ServerEndpointSyncActivityStatusResponse", "appliedBytes");
            }
            this.appliedBytes = appliedBytes;
            return this;
        }
        @CustomType.Setter
        public Builder appliedItemCount(Double appliedItemCount) {
            if (appliedItemCount == null) {
              throw new MissingRequiredPropertyException("ServerEndpointSyncActivityStatusResponse", "appliedItemCount");
            }
            this.appliedItemCount = appliedItemCount;
            return this;
        }
        @CustomType.Setter
        public Builder perItemErrorCount(Double perItemErrorCount) {
            if (perItemErrorCount == null) {
              throw new MissingRequiredPropertyException("ServerEndpointSyncActivityStatusResponse", "perItemErrorCount");
            }
            this.perItemErrorCount = perItemErrorCount;
            return this;
        }
        @CustomType.Setter
        public Builder sessionMinutesRemaining(Integer sessionMinutesRemaining) {
            if (sessionMinutesRemaining == null) {
              throw new MissingRequiredPropertyException("ServerEndpointSyncActivityStatusResponse", "sessionMinutesRemaining");
            }
            this.sessionMinutesRemaining = sessionMinutesRemaining;
            return this;
        }
        @CustomType.Setter
        public Builder syncMode(String syncMode) {
            if (syncMode == null) {
              throw new MissingRequiredPropertyException("ServerEndpointSyncActivityStatusResponse", "syncMode");
            }
            this.syncMode = syncMode;
            return this;
        }
        @CustomType.Setter
        public Builder timestamp(String timestamp) {
            if (timestamp == null) {
              throw new MissingRequiredPropertyException("ServerEndpointSyncActivityStatusResponse", "timestamp");
            }
            this.timestamp = timestamp;
            return this;
        }
        @CustomType.Setter
        public Builder totalBytes(Double totalBytes) {
            if (totalBytes == null) {
              throw new MissingRequiredPropertyException("ServerEndpointSyncActivityStatusResponse", "totalBytes");
            }
            this.totalBytes = totalBytes;
            return this;
        }
        @CustomType.Setter
        public Builder totalItemCount(Double totalItemCount) {
            if (totalItemCount == null) {
              throw new MissingRequiredPropertyException("ServerEndpointSyncActivityStatusResponse", "totalItemCount");
            }
            this.totalItemCount = totalItemCount;
            return this;
        }
        public ServerEndpointSyncActivityStatusResponse build() {
            final var _resultValue = new ServerEndpointSyncActivityStatusResponse();
            _resultValue.appliedBytes = appliedBytes;
            _resultValue.appliedItemCount = appliedItemCount;
            _resultValue.perItemErrorCount = perItemErrorCount;
            _resultValue.sessionMinutesRemaining = sessionMinutesRemaining;
            _resultValue.syncMode = syncMode;
            _resultValue.timestamp = timestamp;
            _resultValue.totalBytes = totalBytes;
            _resultValue.totalItemCount = totalItemCount;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy