// *** 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 java.lang.String;
import java.util.Objects;


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

    public static final NetworkServiceServiceQosPolicyMaximumBitRateArgs Empty = new NetworkServiceServiceQosPolicyMaximumBitRateArgs();

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

    /**
     * @return Downlink bit rate. Must be a number followed by `bps`, `Kbps`, `Mbps`, `Gbps` or `Tbps`.
     * 
     */
    public Output<String> 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<String> uplink;

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

    private NetworkServiceServiceQosPolicyMaximumBitRateArgs() {}

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

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

    public static final class Builder {
        private NetworkServiceServiceQosPolicyMaximumBitRateArgs $;

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

        public Builder(NetworkServiceServiceQosPolicyMaximumBitRateArgs defaults) {
            $ = new NetworkServiceServiceQosPolicyMaximumBitRateArgs(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<String> 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<String> 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 NetworkServiceServiceQosPolicyMaximumBitRateArgs build() {
            $.downlink = Objects.requireNonNull($.downlink, "expected parameter 'downlink' to be non-null");
            $.uplink = Objects.requireNonNull($.uplink, "expected parameter 'uplink' to be non-null");
            return $;
        }
    }

}
