com.pulumi.azure.mobile.inputs.NetworkServicePccRuleQosPolicyMaximumBitRateArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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 $;
}
}
}