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

com.pulumi.meraki.networks.outputs.GetApplianceTrafficShapingUplinkSelectionItemVpnTrafficUplinkPreferencePerformanceClass Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
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.pulumi.meraki.networks.outputs;

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

@CustomType
public final class GetApplianceTrafficShapingUplinkSelectionItemVpnTrafficUplinkPreferencePerformanceClass {
    /**
     * @return Name of builtin performance class. Must be present when performanceClass type is 'builtin' and value must be one of: 'VoIP'
     * 
     */
    private String builtinPerformanceClassName;
    /**
     * @return ID of created custom performance class, must be present when performanceClass type is "custom"
     * 
     */
    private String customPerformanceClassId;
    /**
     * @return Type of this performance class. Must be one of: 'builtin' or 'custom'
     * 
     */
    private String type;

    private GetApplianceTrafficShapingUplinkSelectionItemVpnTrafficUplinkPreferencePerformanceClass() {}
    /**
     * @return Name of builtin performance class. Must be present when performanceClass type is 'builtin' and value must be one of: 'VoIP'
     * 
     */
    public String builtinPerformanceClassName() {
        return this.builtinPerformanceClassName;
    }
    /**
     * @return ID of created custom performance class, must be present when performanceClass type is "custom"
     * 
     */
    public String customPerformanceClassId() {
        return this.customPerformanceClassId;
    }
    /**
     * @return Type of this performance class. Must be one of: 'builtin' or 'custom'
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetApplianceTrafficShapingUplinkSelectionItemVpnTrafficUplinkPreferencePerformanceClass defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String builtinPerformanceClassName;
        private String customPerformanceClassId;
        private String type;
        public Builder() {}
        public Builder(GetApplianceTrafficShapingUplinkSelectionItemVpnTrafficUplinkPreferencePerformanceClass defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.builtinPerformanceClassName = defaults.builtinPerformanceClassName;
    	      this.customPerformanceClassId = defaults.customPerformanceClassId;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder builtinPerformanceClassName(String builtinPerformanceClassName) {
            if (builtinPerformanceClassName == null) {
              throw new MissingRequiredPropertyException("GetApplianceTrafficShapingUplinkSelectionItemVpnTrafficUplinkPreferencePerformanceClass", "builtinPerformanceClassName");
            }
            this.builtinPerformanceClassName = builtinPerformanceClassName;
            return this;
        }
        @CustomType.Setter
        public Builder customPerformanceClassId(String customPerformanceClassId) {
            if (customPerformanceClassId == null) {
              throw new MissingRequiredPropertyException("GetApplianceTrafficShapingUplinkSelectionItemVpnTrafficUplinkPreferencePerformanceClass", "customPerformanceClassId");
            }
            this.customPerformanceClassId = customPerformanceClassId;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetApplianceTrafficShapingUplinkSelectionItemVpnTrafficUplinkPreferencePerformanceClass", "type");
            }
            this.type = type;
            return this;
        }
        public GetApplianceTrafficShapingUplinkSelectionItemVpnTrafficUplinkPreferencePerformanceClass build() {
            final var _resultValue = new GetApplianceTrafficShapingUplinkSelectionItemVpnTrafficUplinkPreferencePerformanceClass();
            _resultValue.builtinPerformanceClassName = builtinPerformanceClassName;
            _resultValue.customPerformanceClassId = customPerformanceClassId;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy