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

com.pulumi.meraki.devices.SwitchRoutingInterfacesArgs 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.devices;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.meraki.devices.inputs.SwitchRoutingInterfacesIpv6Args;
import com.pulumi.meraki.devices.inputs.SwitchRoutingInterfacesOspfSettingsArgs;
import com.pulumi.meraki.devices.inputs.SwitchRoutingInterfacesOspfV3Args;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final SwitchRoutingInterfacesArgs Empty = new SwitchRoutingInterfacesArgs();

    /**
     * IPv4 default gateway
     * 
     */
    @Import(name="defaultGateway")
    private @Nullable Output defaultGateway;

    /**
     * @return IPv4 default gateway
     * 
     */
    public Optional> defaultGateway() {
        return Optional.ofNullable(this.defaultGateway);
    }

    /**
     * The id
     * 
     */
    @Import(name="interfaceId")
    private @Nullable Output interfaceId;

    /**
     * @return The id
     * 
     */
    public Optional> interfaceId() {
        return Optional.ofNullable(this.interfaceId);
    }

    /**
     * IPv4 address
     * 
     */
    @Import(name="interfaceIp")
    private @Nullable Output interfaceIp;

    /**
     * @return IPv4 address
     * 
     */
    public Optional> interfaceIp() {
        return Optional.ofNullable(this.interfaceIp);
    }

    /**
     * IPv6 addressing
     * 
     */
    @Import(name="ipv6")
    private @Nullable Output ipv6;

    /**
     * @return IPv6 addressing
     * 
     */
    public Optional> ipv6() {
        return Optional.ofNullable(this.ipv6);
    }

    /**
     * Multicast routing status
     * 
     */
    @Import(name="multicastRouting")
    private @Nullable Output multicastRouting;

    /**
     * @return Multicast routing status
     * 
     */
    public Optional> multicastRouting() {
        return Optional.ofNullable(this.multicastRouting);
    }

    /**
     * The name
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * IPv4 OSPF Settings
     * 
     */
    @Import(name="ospfSettings")
    private @Nullable Output ospfSettings;

    /**
     * @return IPv4 OSPF Settings
     * 
     */
    public Optional> ospfSettings() {
        return Optional.ofNullable(this.ospfSettings);
    }

    /**
     * IPv6 OSPF Settings
     * 
     */
    @Import(name="ospfV3")
    private @Nullable Output ospfV3;

    /**
     * @return IPv6 OSPF Settings
     * 
     */
    public Optional> ospfV3() {
        return Optional.ofNullable(this.ospfV3);
    }

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

    /**
     * @return serial path parameter.
     * 
     */
    public Output serial() {
        return this.serial;
    }

    /**
     * IPv4 subnet
     * 
     */
    @Import(name="subnet")
    private @Nullable Output subnet;

    /**
     * @return IPv4 subnet
     * 
     */
    public Optional> subnet() {
        return Optional.ofNullable(this.subnet);
    }

    /**
     * VLAN id
     * 
     */
    @Import(name="vlanId")
    private @Nullable Output vlanId;

    /**
     * @return VLAN id
     * 
     */
    public Optional> vlanId() {
        return Optional.ofNullable(this.vlanId);
    }

    private SwitchRoutingInterfacesArgs() {}

    private SwitchRoutingInterfacesArgs(SwitchRoutingInterfacesArgs $) {
        this.defaultGateway = $.defaultGateway;
        this.interfaceId = $.interfaceId;
        this.interfaceIp = $.interfaceIp;
        this.ipv6 = $.ipv6;
        this.multicastRouting = $.multicastRouting;
        this.name = $.name;
        this.ospfSettings = $.ospfSettings;
        this.ospfV3 = $.ospfV3;
        this.serial = $.serial;
        this.subnet = $.subnet;
        this.vlanId = $.vlanId;
    }

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

    public static final class Builder {
        private SwitchRoutingInterfacesArgs $;

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

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

        /**
         * @param defaultGateway IPv4 default gateway
         * 
         * @return builder
         * 
         */
        public Builder defaultGateway(@Nullable Output defaultGateway) {
            $.defaultGateway = defaultGateway;
            return this;
        }

        /**
         * @param defaultGateway IPv4 default gateway
         * 
         * @return builder
         * 
         */
        public Builder defaultGateway(String defaultGateway) {
            return defaultGateway(Output.of(defaultGateway));
        }

        /**
         * @param interfaceId The id
         * 
         * @return builder
         * 
         */
        public Builder interfaceId(@Nullable Output interfaceId) {
            $.interfaceId = interfaceId;
            return this;
        }

        /**
         * @param interfaceId The id
         * 
         * @return builder
         * 
         */
        public Builder interfaceId(String interfaceId) {
            return interfaceId(Output.of(interfaceId));
        }

        /**
         * @param interfaceIp IPv4 address
         * 
         * @return builder
         * 
         */
        public Builder interfaceIp(@Nullable Output interfaceIp) {
            $.interfaceIp = interfaceIp;
            return this;
        }

        /**
         * @param interfaceIp IPv4 address
         * 
         * @return builder
         * 
         */
        public Builder interfaceIp(String interfaceIp) {
            return interfaceIp(Output.of(interfaceIp));
        }

        /**
         * @param ipv6 IPv6 addressing
         * 
         * @return builder
         * 
         */
        public Builder ipv6(@Nullable Output ipv6) {
            $.ipv6 = ipv6;
            return this;
        }

        /**
         * @param ipv6 IPv6 addressing
         * 
         * @return builder
         * 
         */
        public Builder ipv6(SwitchRoutingInterfacesIpv6Args ipv6) {
            return ipv6(Output.of(ipv6));
        }

        /**
         * @param multicastRouting Multicast routing status
         * 
         * @return builder
         * 
         */
        public Builder multicastRouting(@Nullable Output multicastRouting) {
            $.multicastRouting = multicastRouting;
            return this;
        }

        /**
         * @param multicastRouting Multicast routing status
         * 
         * @return builder
         * 
         */
        public Builder multicastRouting(String multicastRouting) {
            return multicastRouting(Output.of(multicastRouting));
        }

        /**
         * @param name The name
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param ospfSettings IPv4 OSPF Settings
         * 
         * @return builder
         * 
         */
        public Builder ospfSettings(@Nullable Output ospfSettings) {
            $.ospfSettings = ospfSettings;
            return this;
        }

        /**
         * @param ospfSettings IPv4 OSPF Settings
         * 
         * @return builder
         * 
         */
        public Builder ospfSettings(SwitchRoutingInterfacesOspfSettingsArgs ospfSettings) {
            return ospfSettings(Output.of(ospfSettings));
        }

        /**
         * @param ospfV3 IPv6 OSPF Settings
         * 
         * @return builder
         * 
         */
        public Builder ospfV3(@Nullable Output ospfV3) {
            $.ospfV3 = ospfV3;
            return this;
        }

        /**
         * @param ospfV3 IPv6 OSPF Settings
         * 
         * @return builder
         * 
         */
        public Builder ospfV3(SwitchRoutingInterfacesOspfV3Args ospfV3) {
            return ospfV3(Output.of(ospfV3));
        }

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

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

        /**
         * @param subnet IPv4 subnet
         * 
         * @return builder
         * 
         */
        public Builder subnet(@Nullable Output subnet) {
            $.subnet = subnet;
            return this;
        }

        /**
         * @param subnet IPv4 subnet
         * 
         * @return builder
         * 
         */
        public Builder subnet(String subnet) {
            return subnet(Output.of(subnet));
        }

        /**
         * @param vlanId VLAN id
         * 
         * @return builder
         * 
         */
        public Builder vlanId(@Nullable Output vlanId) {
            $.vlanId = vlanId;
            return this;
        }

        /**
         * @param vlanId VLAN id
         * 
         * @return builder
         * 
         */
        public Builder vlanId(Integer vlanId) {
            return vlanId(Output.of(vlanId));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy