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

com.pulumi.azurenative.scvmm.outputs.StorageQoSPolicyResponse Maven / Gradle / Ivy

There is a newer version: 2.78.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.scvmm.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class StorageQoSPolicyResponse {
    /**
     * @return The Bandwidth Limit for internet traffic.
     * 
     */
    private @Nullable Double bandwidthLimit;
    /**
     * @return The ID of the QoS policy.
     * 
     */
    private @Nullable String id;
    /**
     * @return The maximum IO operations per second.
     * 
     */
    private @Nullable Double iopsMaximum;
    /**
     * @return The minimum IO operations per second.
     * 
     */
    private @Nullable Double iopsMinimum;
    /**
     * @return The name of the policy.
     * 
     */
    private @Nullable String name;
    /**
     * @return The underlying policy.
     * 
     */
    private @Nullable String policyId;

    private StorageQoSPolicyResponse() {}
    /**
     * @return The Bandwidth Limit for internet traffic.
     * 
     */
    public Optional bandwidthLimit() {
        return Optional.ofNullable(this.bandwidthLimit);
    }
    /**
     * @return The ID of the QoS policy.
     * 
     */
    public Optional id() {
        return Optional.ofNullable(this.id);
    }
    /**
     * @return The maximum IO operations per second.
     * 
     */
    public Optional iopsMaximum() {
        return Optional.ofNullable(this.iopsMaximum);
    }
    /**
     * @return The minimum IO operations per second.
     * 
     */
    public Optional iopsMinimum() {
        return Optional.ofNullable(this.iopsMinimum);
    }
    /**
     * @return The name of the policy.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return The underlying policy.
     * 
     */
    public Optional policyId() {
        return Optional.ofNullable(this.policyId);
    }

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

    public static Builder builder(StorageQoSPolicyResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Double bandwidthLimit;
        private @Nullable String id;
        private @Nullable Double iopsMaximum;
        private @Nullable Double iopsMinimum;
        private @Nullable String name;
        private @Nullable String policyId;
        public Builder() {}
        public Builder(StorageQoSPolicyResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.bandwidthLimit = defaults.bandwidthLimit;
    	      this.id = defaults.id;
    	      this.iopsMaximum = defaults.iopsMaximum;
    	      this.iopsMinimum = defaults.iopsMinimum;
    	      this.name = defaults.name;
    	      this.policyId = defaults.policyId;
        }

        @CustomType.Setter
        public Builder bandwidthLimit(@Nullable Double bandwidthLimit) {

            this.bandwidthLimit = bandwidthLimit;
            return this;
        }
        @CustomType.Setter
        public Builder id(@Nullable String id) {

            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder iopsMaximum(@Nullable Double iopsMaximum) {

            this.iopsMaximum = iopsMaximum;
            return this;
        }
        @CustomType.Setter
        public Builder iopsMinimum(@Nullable Double iopsMinimum) {

            this.iopsMinimum = iopsMinimum;
            return this;
        }
        @CustomType.Setter
        public Builder name(@Nullable String name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder policyId(@Nullable String policyId) {

            this.policyId = policyId;
            return this;
        }
        public StorageQoSPolicyResponse build() {
            final var _resultValue = new StorageQoSPolicyResponse();
            _resultValue.bandwidthLimit = bandwidthLimit;
            _resultValue.id = id;
            _resultValue.iopsMaximum = iopsMaximum;
            _resultValue.iopsMinimum = iopsMinimum;
            _resultValue.name = name;
            _resultValue.policyId = policyId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy