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

com.pulumi.azurenative.managednetworkfabric.inputs.CommonDynamicMatchConfigurationArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.managednetworkfabric.inputs;

import com.pulumi.azurenative.managednetworkfabric.inputs.IpGroupPropertiesArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.PortGroupPropertiesArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.VlanGroupPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Dynamic match configuration object.
 * 
 */
public final class CommonDynamicMatchConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final CommonDynamicMatchConfigurationArgs Empty = new CommonDynamicMatchConfigurationArgs();

    /**
     * List of IP Groups.
     * 
     */
    @Import(name="ipGroups")
    private @Nullable Output> ipGroups;

    /**
     * @return List of IP Groups.
     * 
     */
    public Optional>> ipGroups() {
        return Optional.ofNullable(this.ipGroups);
    }

    /**
     * List of the port groups.
     * 
     */
    @Import(name="portGroups")
    private @Nullable Output> portGroups;

    /**
     * @return List of the port groups.
     * 
     */
    public Optional>> portGroups() {
        return Optional.ofNullable(this.portGroups);
    }

    /**
     * List of vlan groups.
     * 
     */
    @Import(name="vlanGroups")
    private @Nullable Output> vlanGroups;

    /**
     * @return List of vlan groups.
     * 
     */
    public Optional>> vlanGroups() {
        return Optional.ofNullable(this.vlanGroups);
    }

    private CommonDynamicMatchConfigurationArgs() {}

    private CommonDynamicMatchConfigurationArgs(CommonDynamicMatchConfigurationArgs $) {
        this.ipGroups = $.ipGroups;
        this.portGroups = $.portGroups;
        this.vlanGroups = $.vlanGroups;
    }

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

    public static final class Builder {
        private CommonDynamicMatchConfigurationArgs $;

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

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

        /**
         * @param ipGroups List of IP Groups.
         * 
         * @return builder
         * 
         */
        public Builder ipGroups(@Nullable Output> ipGroups) {
            $.ipGroups = ipGroups;
            return this;
        }

        /**
         * @param ipGroups List of IP Groups.
         * 
         * @return builder
         * 
         */
        public Builder ipGroups(List ipGroups) {
            return ipGroups(Output.of(ipGroups));
        }

        /**
         * @param ipGroups List of IP Groups.
         * 
         * @return builder
         * 
         */
        public Builder ipGroups(IpGroupPropertiesArgs... ipGroups) {
            return ipGroups(List.of(ipGroups));
        }

        /**
         * @param portGroups List of the port groups.
         * 
         * @return builder
         * 
         */
        public Builder portGroups(@Nullable Output> portGroups) {
            $.portGroups = portGroups;
            return this;
        }

        /**
         * @param portGroups List of the port groups.
         * 
         * @return builder
         * 
         */
        public Builder portGroups(List portGroups) {
            return portGroups(Output.of(portGroups));
        }

        /**
         * @param portGroups List of the port groups.
         * 
         * @return builder
         * 
         */
        public Builder portGroups(PortGroupPropertiesArgs... portGroups) {
            return portGroups(List.of(portGroups));
        }

        /**
         * @param vlanGroups List of vlan groups.
         * 
         * @return builder
         * 
         */
        public Builder vlanGroups(@Nullable Output> vlanGroups) {
            $.vlanGroups = vlanGroups;
            return this;
        }

        /**
         * @param vlanGroups List of vlan groups.
         * 
         * @return builder
         * 
         */
        public Builder vlanGroups(List vlanGroups) {
            return vlanGroups(Output.of(vlanGroups));
        }

        /**
         * @param vlanGroups List of vlan groups.
         * 
         * @return builder
         * 
         */
        public Builder vlanGroups(VlanGroupPropertiesArgs... vlanGroups) {
            return vlanGroups(List.of(vlanGroups));
        }

        public CommonDynamicMatchConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy