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

com.pulumi.azurenative.storagesync.outputs.CloudTieringVolumeFreeSpacePolicyStatusResponse 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.storagesync.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 CloudTieringVolumeFreeSpacePolicyStatusResponse {
    /**
     * @return Current volume free space percentage.
     * 
     */
    private Integer currentVolumeFreeSpacePercent;
    /**
     * @return In the case where multiple server endpoints are present in a volume, an effective free space policy is applied.
     * 
     */
    private Integer effectiveVolumeFreeSpacePolicy;
    /**
     * @return Last updated timestamp
     * 
     */
    private String lastUpdatedTimestamp;

    private CloudTieringVolumeFreeSpacePolicyStatusResponse() {}
    /**
     * @return Current volume free space percentage.
     * 
     */
    public Integer currentVolumeFreeSpacePercent() {
        return this.currentVolumeFreeSpacePercent;
    }
    /**
     * @return In the case where multiple server endpoints are present in a volume, an effective free space policy is applied.
     * 
     */
    public Integer effectiveVolumeFreeSpacePolicy() {
        return this.effectiveVolumeFreeSpacePolicy;
    }
    /**
     * @return Last updated timestamp
     * 
     */
    public String lastUpdatedTimestamp() {
        return this.lastUpdatedTimestamp;
    }

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

    public static Builder builder(CloudTieringVolumeFreeSpacePolicyStatusResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer currentVolumeFreeSpacePercent;
        private Integer effectiveVolumeFreeSpacePolicy;
        private String lastUpdatedTimestamp;
        public Builder() {}
        public Builder(CloudTieringVolumeFreeSpacePolicyStatusResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.currentVolumeFreeSpacePercent = defaults.currentVolumeFreeSpacePercent;
    	      this.effectiveVolumeFreeSpacePolicy = defaults.effectiveVolumeFreeSpacePolicy;
    	      this.lastUpdatedTimestamp = defaults.lastUpdatedTimestamp;
        }

        @CustomType.Setter
        public Builder currentVolumeFreeSpacePercent(Integer currentVolumeFreeSpacePercent) {
            if (currentVolumeFreeSpacePercent == null) {
              throw new MissingRequiredPropertyException("CloudTieringVolumeFreeSpacePolicyStatusResponse", "currentVolumeFreeSpacePercent");
            }
            this.currentVolumeFreeSpacePercent = currentVolumeFreeSpacePercent;
            return this;
        }
        @CustomType.Setter
        public Builder effectiveVolumeFreeSpacePolicy(Integer effectiveVolumeFreeSpacePolicy) {
            if (effectiveVolumeFreeSpacePolicy == null) {
              throw new MissingRequiredPropertyException("CloudTieringVolumeFreeSpacePolicyStatusResponse", "effectiveVolumeFreeSpacePolicy");
            }
            this.effectiveVolumeFreeSpacePolicy = effectiveVolumeFreeSpacePolicy;
            return this;
        }
        @CustomType.Setter
        public Builder lastUpdatedTimestamp(String lastUpdatedTimestamp) {
            if (lastUpdatedTimestamp == null) {
              throw new MissingRequiredPropertyException("CloudTieringVolumeFreeSpacePolicyStatusResponse", "lastUpdatedTimestamp");
            }
            this.lastUpdatedTimestamp = lastUpdatedTimestamp;
            return this;
        }
        public CloudTieringVolumeFreeSpacePolicyStatusResponse build() {
            final var _resultValue = new CloudTieringVolumeFreeSpacePolicyStatusResponse();
            _resultValue.currentVolumeFreeSpacePercent = currentVolumeFreeSpacePercent;
            _resultValue.effectiveVolumeFreeSpacePolicy = effectiveVolumeFreeSpacePolicy;
            _resultValue.lastUpdatedTimestamp = lastUpdatedTimestamp;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy