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

com.pulumi.azure.mobile.inputs.NetworkServicePccRuleQosPolicyMaximumBitRateArgs 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.azure.mobile.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class NetworkServicePccRuleQosPolicyMaximumBitRateArgs extends com.pulumi.resources.ResourceArgs {

    public static final NetworkServicePccRuleQosPolicyMaximumBitRateArgs Empty = new NetworkServicePccRuleQosPolicyMaximumBitRateArgs();

    /**
     * Downlink bit rate. Must be a number followed by `bps`, `Kbps`, `Mbps`, `Gbps` or `Tbps`.
     * 
     */
    @Import(name="downlink", required=true)
    private Output downlink;

    /**
     * @return Downlink bit rate. Must be a number followed by `bps`, `Kbps`, `Mbps`, `Gbps` or `Tbps`.
     * 
     */
    public Output downlink() {
        return this.downlink;
    }

    /**
     * Uplink bit rate. Must be a number followed by `bps`, `Kbps`, `Mbps`, `Gbps` or `Tbps`.
     * 
     */
    @Import(name="uplink", required=true)
    private Output uplink;

    /**
     * @return Uplink bit rate. Must be a number followed by `bps`, `Kbps`, `Mbps`, `Gbps` or `Tbps`.
     * 
     */
    public Output uplink() {
        return this.uplink;
    }

    private NetworkServicePccRuleQosPolicyMaximumBitRateArgs() {}

    private NetworkServicePccRuleQosPolicyMaximumBitRateArgs(NetworkServicePccRuleQosPolicyMaximumBitRateArgs $) {
        this.downlink = $.downlink;
        this.uplink = $.uplink;
    }

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

    public static final class Builder {
        private NetworkServicePccRuleQosPolicyMaximumBitRateArgs $;

        public Builder() {
            $ = new NetworkServicePccRuleQosPolicyMaximumBitRateArgs();
        }

        public Builder(NetworkServicePccRuleQosPolicyMaximumBitRateArgs defaults) {
            $ = new NetworkServicePccRuleQosPolicyMaximumBitRateArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param downlink Downlink bit rate. Must be a number followed by `bps`, `Kbps`, `Mbps`, `Gbps` or `Tbps`.
         * 
         * @return builder
         * 
         */
        public Builder downlink(Output downlink) {
            $.downlink = downlink;
            return this;
        }

        /**
         * @param downlink Downlink bit rate. Must be a number followed by `bps`, `Kbps`, `Mbps`, `Gbps` or `Tbps`.
         * 
         * @return builder
         * 
         */
        public Builder downlink(String downlink) {
            return downlink(Output.of(downlink));
        }

        /**
         * @param uplink Uplink bit rate. Must be a number followed by `bps`, `Kbps`, `Mbps`, `Gbps` or `Tbps`.
         * 
         * @return builder
         * 
         */
        public Builder uplink(Output uplink) {
            $.uplink = uplink;
            return this;
        }

        /**
         * @param uplink Uplink bit rate. Must be a number followed by `bps`, `Kbps`, `Mbps`, `Gbps` or `Tbps`.
         * 
         * @return builder
         * 
         */
        public Builder uplink(String uplink) {
            return uplink(Output.of(uplink));
        }

        public NetworkServicePccRuleQosPolicyMaximumBitRateArgs build() {
            if ($.downlink == null) {
                throw new MissingRequiredPropertyException("NetworkServicePccRuleQosPolicyMaximumBitRateArgs", "downlink");
            }
            if ($.uplink == null) {
                throw new MissingRequiredPropertyException("NetworkServicePccRuleQosPolicyMaximumBitRateArgs", "uplink");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy