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

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

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


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

    public static final SwitchRoutingStaticRoutesState Empty = new SwitchRoutingStaticRoutesState();

    /**
     * Option to advertise static routes via OSPF
     * 
     */
    @Import(name="advertiseViaOspfEnabled")
    private @Nullable Output advertiseViaOspfEnabled;

    /**
     * @return Option to advertise static routes via OSPF
     * 
     */
    public Optional> advertiseViaOspfEnabled() {
        return Optional.ofNullable(this.advertiseViaOspfEnabled);
    }

    /**
     * The name or description of the layer 3 static route
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name or description of the layer 3 static route
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The IP address of the router to which traffic for this destination network should be sent
     * 
     */
    @Import(name="nextHopIp")
    private @Nullable Output nextHopIp;

    /**
     * @return The IP address of the router to which traffic for this destination network should be sent
     * 
     */
    public Optional> nextHopIp() {
        return Optional.ofNullable(this.nextHopIp);
    }

    /**
     * Option to prefer static routes over OSPF routes
     * 
     */
    @Import(name="preferOverOspfRoutesEnabled")
    private @Nullable Output preferOverOspfRoutesEnabled;

    /**
     * @return Option to prefer static routes over OSPF routes
     * 
     */
    public Optional> preferOverOspfRoutesEnabled() {
        return Optional.ofNullable(this.preferOverOspfRoutesEnabled);
    }

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

    /**
     * @return serial path parameter.
     * 
     */
    public Optional> serial() {
        return Optional.ofNullable(this.serial);
    }

    /**
     * The identifier of a layer 3 static route
     * 
     */
    @Import(name="staticRouteId")
    private @Nullable Output staticRouteId;

    /**
     * @return The identifier of a layer 3 static route
     * 
     */
    public Optional> staticRouteId() {
        return Optional.ofNullable(this.staticRouteId);
    }

    /**
     * The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24)
     * 
     */
    @Import(name="subnet")
    private @Nullable Output subnet;

    /**
     * @return The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24)
     * 
     */
    public Optional> subnet() {
        return Optional.ofNullable(this.subnet);
    }

    private SwitchRoutingStaticRoutesState() {}

    private SwitchRoutingStaticRoutesState(SwitchRoutingStaticRoutesState $) {
        this.advertiseViaOspfEnabled = $.advertiseViaOspfEnabled;
        this.name = $.name;
        this.nextHopIp = $.nextHopIp;
        this.preferOverOspfRoutesEnabled = $.preferOverOspfRoutesEnabled;
        this.serial = $.serial;
        this.staticRouteId = $.staticRouteId;
        this.subnet = $.subnet;
    }

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

    public static final class Builder {
        private SwitchRoutingStaticRoutesState $;

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

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

        /**
         * @param advertiseViaOspfEnabled Option to advertise static routes via OSPF
         * 
         * @return builder
         * 
         */
        public Builder advertiseViaOspfEnabled(@Nullable Output advertiseViaOspfEnabled) {
            $.advertiseViaOspfEnabled = advertiseViaOspfEnabled;
            return this;
        }

        /**
         * @param advertiseViaOspfEnabled Option to advertise static routes via OSPF
         * 
         * @return builder
         * 
         */
        public Builder advertiseViaOspfEnabled(Boolean advertiseViaOspfEnabled) {
            return advertiseViaOspfEnabled(Output.of(advertiseViaOspfEnabled));
        }

        /**
         * @param name The name or description of the layer 3 static route
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name or description of the layer 3 static route
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param nextHopIp The IP address of the router to which traffic for this destination network should be sent
         * 
         * @return builder
         * 
         */
        public Builder nextHopIp(@Nullable Output nextHopIp) {
            $.nextHopIp = nextHopIp;
            return this;
        }

        /**
         * @param nextHopIp The IP address of the router to which traffic for this destination network should be sent
         * 
         * @return builder
         * 
         */
        public Builder nextHopIp(String nextHopIp) {
            return nextHopIp(Output.of(nextHopIp));
        }

        /**
         * @param preferOverOspfRoutesEnabled Option to prefer static routes over OSPF routes
         * 
         * @return builder
         * 
         */
        public Builder preferOverOspfRoutesEnabled(@Nullable Output preferOverOspfRoutesEnabled) {
            $.preferOverOspfRoutesEnabled = preferOverOspfRoutesEnabled;
            return this;
        }

        /**
         * @param preferOverOspfRoutesEnabled Option to prefer static routes over OSPF routes
         * 
         * @return builder
         * 
         */
        public Builder preferOverOspfRoutesEnabled(Boolean preferOverOspfRoutesEnabled) {
            return preferOverOspfRoutesEnabled(Output.of(preferOverOspfRoutesEnabled));
        }

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

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

        /**
         * @param staticRouteId The identifier of a layer 3 static route
         * 
         * @return builder
         * 
         */
        public Builder staticRouteId(@Nullable Output staticRouteId) {
            $.staticRouteId = staticRouteId;
            return this;
        }

        /**
         * @param staticRouteId The identifier of a layer 3 static route
         * 
         * @return builder
         * 
         */
        public Builder staticRouteId(String staticRouteId) {
            return staticRouteId(Output.of(staticRouteId));
        }

        /**
         * @param subnet The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24)
         * 
         * @return builder
         * 
         */
        public Builder subnet(@Nullable Output subnet) {
            $.subnet = subnet;
            return this;
        }

        /**
         * @param subnet The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24)
         * 
         * @return builder
         * 
         */
        public Builder subnet(String subnet) {
            return subnet(Output.of(subnet));
        }

        public SwitchRoutingStaticRoutesState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy