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

com.pulumi.azurenative.storagesync.outputs.ServerEndpointFilesNotSyncingErrorResponse 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.storagesync.outputs;

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

@CustomType
public final class ServerEndpointFilesNotSyncingErrorResponse {
    /**
     * @return Error code (HResult)
     * 
     */
    private Integer errorCode;
    /**
     * @return Count of persistent files not syncing with the specified error code
     * 
     */
    private Double persistentCount;
    /**
     * @return Count of transient files not syncing with the specified error code
     * 
     */
    private Double transientCount;

    private ServerEndpointFilesNotSyncingErrorResponse() {}
    /**
     * @return Error code (HResult)
     * 
     */
    public Integer errorCode() {
        return this.errorCode;
    }
    /**
     * @return Count of persistent files not syncing with the specified error code
     * 
     */
    public Double persistentCount() {
        return this.persistentCount;
    }
    /**
     * @return Count of transient files not syncing with the specified error code
     * 
     */
    public Double transientCount() {
        return this.transientCount;
    }

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

    public static Builder builder(ServerEndpointFilesNotSyncingErrorResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer errorCode;
        private Double persistentCount;
        private Double transientCount;
        public Builder() {}
        public Builder(ServerEndpointFilesNotSyncingErrorResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.errorCode = defaults.errorCode;
    	      this.persistentCount = defaults.persistentCount;
    	      this.transientCount = defaults.transientCount;
        }

        @CustomType.Setter
        public Builder errorCode(Integer errorCode) {
            if (errorCode == null) {
              throw new MissingRequiredPropertyException("ServerEndpointFilesNotSyncingErrorResponse", "errorCode");
            }
            this.errorCode = errorCode;
            return this;
        }
        @CustomType.Setter
        public Builder persistentCount(Double persistentCount) {
            if (persistentCount == null) {
              throw new MissingRequiredPropertyException("ServerEndpointFilesNotSyncingErrorResponse", "persistentCount");
            }
            this.persistentCount = persistentCount;
            return this;
        }
        @CustomType.Setter
        public Builder transientCount(Double transientCount) {
            if (transientCount == null) {
              throw new MissingRequiredPropertyException("ServerEndpointFilesNotSyncingErrorResponse", "transientCount");
            }
            this.transientCount = transientCount;
            return this;
        }
        public ServerEndpointFilesNotSyncingErrorResponse build() {
            final var _resultValue = new ServerEndpointFilesNotSyncingErrorResponse();
            _resultValue.errorCode = errorCode;
            _resultValue.persistentCount = persistentCount;
            _resultValue.transientCount = transientCount;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy