com.pulumi.meraki.networks.outputs.GetGroupPoliciesItemBandwidthBandwidthLimits Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meraki Show documentation
Show all versions of meraki Show documentation
A Pulumi package for creating and managing Cisco Meraki resources
// *** 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.meraki.networks.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;
@CustomType
public final class GetGroupPoliciesItemBandwidthBandwidthLimits {
/**
* @return The maximum download limit (integer, in Kbps). null indicates no limit
*
*/
private Integer limitDown;
/**
* @return The maximum upload limit (integer, in Kbps). null indicates no limit
*
*/
private Integer limitUp;
private GetGroupPoliciesItemBandwidthBandwidthLimits() {}
/**
* @return The maximum download limit (integer, in Kbps). null indicates no limit
*
*/
public Integer limitDown() {
return this.limitDown;
}
/**
* @return The maximum upload limit (integer, in Kbps). null indicates no limit
*
*/
public Integer limitUp() {
return this.limitUp;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetGroupPoliciesItemBandwidthBandwidthLimits defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer limitDown;
private Integer limitUp;
public Builder() {}
public Builder(GetGroupPoliciesItemBandwidthBandwidthLimits defaults) {
Objects.requireNonNull(defaults);
this.limitDown = defaults.limitDown;
this.limitUp = defaults.limitUp;
}
@CustomType.Setter
public Builder limitDown(Integer limitDown) {
if (limitDown == null) {
throw new MissingRequiredPropertyException("GetGroupPoliciesItemBandwidthBandwidthLimits", "limitDown");
}
this.limitDown = limitDown;
return this;
}
@CustomType.Setter
public Builder limitUp(Integer limitUp) {
if (limitUp == null) {
throw new MissingRequiredPropertyException("GetGroupPoliciesItemBandwidthBandwidthLimits", "limitUp");
}
this.limitUp = limitUp;
return this;
}
public GetGroupPoliciesItemBandwidthBandwidthLimits build() {
final var _resultValue = new GetGroupPoliciesItemBandwidthBandwidthLimits();
_resultValue.limitDown = limitDown;
_resultValue.limitUp = limitUp;
return _resultValue;
}
}
}