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

com.ovhcloud.pulumi.ovh.Dedicated.outputs.GetServerSpecificationsNetworkTrafficOutputQuotaUsed Maven / Gradle / Ivy

There is a newer version: 1.1.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.ovhcloud.pulumi.ovh.Dedicated.outputs;

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

@CustomType
public final class GetServerSpecificationsNetworkTrafficOutputQuotaUsed {
    private String unit;
    private Double value;

    private GetServerSpecificationsNetworkTrafficOutputQuotaUsed() {}
    public String unit() {
        return this.unit;
    }
    public Double value() {
        return this.value;
    }

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

    public static Builder builder(GetServerSpecificationsNetworkTrafficOutputQuotaUsed defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String unit;
        private Double value;
        public Builder() {}
        public Builder(GetServerSpecificationsNetworkTrafficOutputQuotaUsed defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.unit = defaults.unit;
    	      this.value = defaults.value;
        }

        @CustomType.Setter
        public Builder unit(String unit) {
            if (unit == null) {
              throw new MissingRequiredPropertyException("GetServerSpecificationsNetworkTrafficOutputQuotaUsed", "unit");
            }
            this.unit = unit;
            return this;
        }
        @CustomType.Setter
        public Builder value(Double value) {
            if (value == null) {
              throw new MissingRequiredPropertyException("GetServerSpecificationsNetworkTrafficOutputQuotaUsed", "value");
            }
            this.value = value;
            return this;
        }
        public GetServerSpecificationsNetworkTrafficOutputQuotaUsed build() {
            final var _resultValue = new GetServerSpecificationsNetworkTrafficOutputQuotaUsed();
            _resultValue.unit = unit;
            _resultValue.value = value;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy