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

com.pulumi.azurenative.managednetworkfabric.inputs.VlanMatchConditionArgs 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.azurenative.managednetworkfabric.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The vlan match conditions that need to be matched.
 * 
 */
public final class VlanMatchConditionArgs extends com.pulumi.resources.ResourceArgs {

    public static final VlanMatchConditionArgs Empty = new VlanMatchConditionArgs();

    /**
     * List of inner vlans that need to be matched.
     * 
     */
    @Import(name="innerVlans")
    private @Nullable Output> innerVlans;

    /**
     * @return List of inner vlans that need to be matched.
     * 
     */
    public Optional>> innerVlans() {
        return Optional.ofNullable(this.innerVlans);
    }

    /**
     * List of vlan group names that need to be matched.
     * 
     */
    @Import(name="vlanGroupNames")
    private @Nullable Output> vlanGroupNames;

    /**
     * @return List of vlan group names that need to be matched.
     * 
     */
    public Optional>> vlanGroupNames() {
        return Optional.ofNullable(this.vlanGroupNames);
    }

    /**
     * List of vlans that need to be matched.
     * 
     */
    @Import(name="vlans")
    private @Nullable Output> vlans;

    /**
     * @return List of vlans that need to be matched.
     * 
     */
    public Optional>> vlans() {
        return Optional.ofNullable(this.vlans);
    }

    private VlanMatchConditionArgs() {}

    private VlanMatchConditionArgs(VlanMatchConditionArgs $) {
        this.innerVlans = $.innerVlans;
        this.vlanGroupNames = $.vlanGroupNames;
        this.vlans = $.vlans;
    }

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

    public static final class Builder {
        private VlanMatchConditionArgs $;

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

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

        /**
         * @param innerVlans List of inner vlans that need to be matched.
         * 
         * @return builder
         * 
         */
        public Builder innerVlans(@Nullable Output> innerVlans) {
            $.innerVlans = innerVlans;
            return this;
        }

        /**
         * @param innerVlans List of inner vlans that need to be matched.
         * 
         * @return builder
         * 
         */
        public Builder innerVlans(List innerVlans) {
            return innerVlans(Output.of(innerVlans));
        }

        /**
         * @param innerVlans List of inner vlans that need to be matched.
         * 
         * @return builder
         * 
         */
        public Builder innerVlans(String... innerVlans) {
            return innerVlans(List.of(innerVlans));
        }

        /**
         * @param vlanGroupNames List of vlan group names that need to be matched.
         * 
         * @return builder
         * 
         */
        public Builder vlanGroupNames(@Nullable Output> vlanGroupNames) {
            $.vlanGroupNames = vlanGroupNames;
            return this;
        }

        /**
         * @param vlanGroupNames List of vlan group names that need to be matched.
         * 
         * @return builder
         * 
         */
        public Builder vlanGroupNames(List vlanGroupNames) {
            return vlanGroupNames(Output.of(vlanGroupNames));
        }

        /**
         * @param vlanGroupNames List of vlan group names that need to be matched.
         * 
         * @return builder
         * 
         */
        public Builder vlanGroupNames(String... vlanGroupNames) {
            return vlanGroupNames(List.of(vlanGroupNames));
        }

        /**
         * @param vlans List of vlans that need to be matched.
         * 
         * @return builder
         * 
         */
        public Builder vlans(@Nullable Output> vlans) {
            $.vlans = vlans;
            return this;
        }

        /**
         * @param vlans List of vlans that need to be matched.
         * 
         * @return builder
         * 
         */
        public Builder vlans(List vlans) {
            return vlans(Output.of(vlans));
        }

        /**
         * @param vlans List of vlans that need to be matched.
         * 
         * @return builder
         * 
         */
        public Builder vlans(String... vlans) {
            return vlans(List.of(vlans));
        }

        public VlanMatchConditionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy