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

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

import com.pulumi.core.annotations.CustomType;
import com.pulumi.meraki.devices.outputs.ApplianceUplinksSettingsInterfacesWan2SvisIpv4Nameservers;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ApplianceUplinksSettingsInterfacesWan2SvisIpv4 {
    /**
     * @return IP address and subnet mask when in static mode.
     * 
     */
    private @Nullable String address;
    /**
     * @return The assignment mode for this SVI. Applies only when PPPoE is disabled.
     * 
     */
    private @Nullable String assignmentMode;
    /**
     * @return Gateway IP address when in static mode.
     * 
     */
    private @Nullable String gateway;
    /**
     * @return The nameserver settings for this SVI.
     * 
     */
    private @Nullable ApplianceUplinksSettingsInterfacesWan2SvisIpv4Nameservers nameservers;

    private ApplianceUplinksSettingsInterfacesWan2SvisIpv4() {}
    /**
     * @return IP address and subnet mask when in static mode.
     * 
     */
    public Optional address() {
        return Optional.ofNullable(this.address);
    }
    /**
     * @return The assignment mode for this SVI. Applies only when PPPoE is disabled.
     * 
     */
    public Optional assignmentMode() {
        return Optional.ofNullable(this.assignmentMode);
    }
    /**
     * @return Gateway IP address when in static mode.
     * 
     */
    public Optional gateway() {
        return Optional.ofNullable(this.gateway);
    }
    /**
     * @return The nameserver settings for this SVI.
     * 
     */
    public Optional nameservers() {
        return Optional.ofNullable(this.nameservers);
    }

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

    public static Builder builder(ApplianceUplinksSettingsInterfacesWan2SvisIpv4 defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String address;
        private @Nullable String assignmentMode;
        private @Nullable String gateway;
        private @Nullable ApplianceUplinksSettingsInterfacesWan2SvisIpv4Nameservers nameservers;
        public Builder() {}
        public Builder(ApplianceUplinksSettingsInterfacesWan2SvisIpv4 defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.address = defaults.address;
    	      this.assignmentMode = defaults.assignmentMode;
    	      this.gateway = defaults.gateway;
    	      this.nameservers = defaults.nameservers;
        }

        @CustomType.Setter
        public Builder address(@Nullable String address) {

            this.address = address;
            return this;
        }
        @CustomType.Setter
        public Builder assignmentMode(@Nullable String assignmentMode) {

            this.assignmentMode = assignmentMode;
            return this;
        }
        @CustomType.Setter
        public Builder gateway(@Nullable String gateway) {

            this.gateway = gateway;
            return this;
        }
        @CustomType.Setter
        public Builder nameservers(@Nullable ApplianceUplinksSettingsInterfacesWan2SvisIpv4Nameservers nameservers) {

            this.nameservers = nameservers;
            return this;
        }
        public ApplianceUplinksSettingsInterfacesWan2SvisIpv4 build() {
            final var _resultValue = new ApplianceUplinksSettingsInterfacesWan2SvisIpv4();
            _resultValue.address = address;
            _resultValue.assignmentMode = assignmentMode;
            _resultValue.gateway = gateway;
            _resultValue.nameservers = nameservers;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy