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

com.pulumi.meraki.networks.SwitchRoutingMulticastArgs 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;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.meraki.networks.inputs.SwitchRoutingMulticastDefaultSettingsArgs;
import com.pulumi.meraki.networks.inputs.SwitchRoutingMulticastOverrideArgs;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class SwitchRoutingMulticastArgs extends com.pulumi.resources.ResourceArgs {

    public static final SwitchRoutingMulticastArgs Empty = new SwitchRoutingMulticastArgs();

    /**
     * Default multicast setting for entire network. IGMP snooping and Flood unknown
     *   multicast traffic settings are enabled by default.
     * 
     */
    @Import(name="defaultSettings")
    private @Nullable Output defaultSettings;

    /**
     * @return Default multicast setting for entire network. IGMP snooping and Flood unknown
     *   multicast traffic settings are enabled by default.
     * 
     */
    public Optional> defaultSettings() {
        return Optional.ofNullable(this.defaultSettings);
    }

    /**
     * networkId path parameter. Network ID
     * 
     */
    @Import(name="networkId", required=true)
    private Output networkId;

    /**
     * @return networkId path parameter. Network ID
     * 
     */
    public Output networkId() {
        return this.networkId;
    }

    /**
     * Array of paired switches/stacks/profiles and corresponding multicast settings.
     *   An empty array will clear the multicast settings.
     * 
     */
    @Import(name="overrides")
    private @Nullable Output> overrides;

    /**
     * @return Array of paired switches/stacks/profiles and corresponding multicast settings.
     *   An empty array will clear the multicast settings.
     * 
     */
    public Optional>> overrides() {
        return Optional.ofNullable(this.overrides);
    }

    private SwitchRoutingMulticastArgs() {}

    private SwitchRoutingMulticastArgs(SwitchRoutingMulticastArgs $) {
        this.defaultSettings = $.defaultSettings;
        this.networkId = $.networkId;
        this.overrides = $.overrides;
    }

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

    public static final class Builder {
        private SwitchRoutingMulticastArgs $;

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

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

        /**
         * @param defaultSettings Default multicast setting for entire network. IGMP snooping and Flood unknown
         *   multicast traffic settings are enabled by default.
         * 
         * @return builder
         * 
         */
        public Builder defaultSettings(@Nullable Output defaultSettings) {
            $.defaultSettings = defaultSettings;
            return this;
        }

        /**
         * @param defaultSettings Default multicast setting for entire network. IGMP snooping and Flood unknown
         *   multicast traffic settings are enabled by default.
         * 
         * @return builder
         * 
         */
        public Builder defaultSettings(SwitchRoutingMulticastDefaultSettingsArgs defaultSettings) {
            return defaultSettings(Output.of(defaultSettings));
        }

        /**
         * @param networkId networkId path parameter. Network ID
         * 
         * @return builder
         * 
         */
        public Builder networkId(Output networkId) {
            $.networkId = networkId;
            return this;
        }

        /**
         * @param networkId networkId path parameter. Network ID
         * 
         * @return builder
         * 
         */
        public Builder networkId(String networkId) {
            return networkId(Output.of(networkId));
        }

        /**
         * @param overrides Array of paired switches/stacks/profiles and corresponding multicast settings.
         *   An empty array will clear the multicast settings.
         * 
         * @return builder
         * 
         */
        public Builder overrides(@Nullable Output> overrides) {
            $.overrides = overrides;
            return this;
        }

        /**
         * @param overrides Array of paired switches/stacks/profiles and corresponding multicast settings.
         *   An empty array will clear the multicast settings.
         * 
         * @return builder
         * 
         */
        public Builder overrides(List overrides) {
            return overrides(Output.of(overrides));
        }

        /**
         * @param overrides Array of paired switches/stacks/profiles and corresponding multicast settings.
         *   An empty array will clear the multicast settings.
         * 
         * @return builder
         * 
         */
        public Builder overrides(SwitchRoutingMulticastOverrideArgs... overrides) {
            return overrides(List.of(overrides));
        }

        public SwitchRoutingMulticastArgs build() {
            if ($.networkId == null) {
                throw new MissingRequiredPropertyException("SwitchRoutingMulticastArgs", "networkId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy