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

com.pulumi.meraki.devices.outputs.ApplianceUplinksSettingsInterfacesWan1PppoeAuthentication 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 java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ApplianceUplinksSettingsInterfacesWan1PppoeAuthentication {
    /**
     * @return Whether PPPoE authentication is enabled.
     * 
     */
    private @Nullable Boolean enabled;
    /**
     * @return Password for PPPoE authentication. This parameter is not returned.
     * 
     */
    private @Nullable String password;
    /**
     * @return Username for PPPoE authentication.
     * 
     */
    private @Nullable String username;

    private ApplianceUplinksSettingsInterfacesWan1PppoeAuthentication() {}
    /**
     * @return Whether PPPoE authentication is enabled.
     * 
     */
    public Optional enabled() {
        return Optional.ofNullable(this.enabled);
    }
    /**
     * @return Password for PPPoE authentication. This parameter is not returned.
     * 
     */
    public Optional password() {
        return Optional.ofNullable(this.password);
    }
    /**
     * @return Username for PPPoE authentication.
     * 
     */
    public Optional username() {
        return Optional.ofNullable(this.username);
    }

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

    public static Builder builder(ApplianceUplinksSettingsInterfacesWan1PppoeAuthentication defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean enabled;
        private @Nullable String password;
        private @Nullable String username;
        public Builder() {}
        public Builder(ApplianceUplinksSettingsInterfacesWan1PppoeAuthentication defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.enabled = defaults.enabled;
    	      this.password = defaults.password;
    	      this.username = defaults.username;
        }

        @CustomType.Setter
        public Builder enabled(@Nullable Boolean enabled) {

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

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

            this.username = username;
            return this;
        }
        public ApplianceUplinksSettingsInterfacesWan1PppoeAuthentication build() {
            final var _resultValue = new ApplianceUplinksSettingsInterfacesWan1PppoeAuthentication();
            _resultValue.enabled = enabled;
            _resultValue.password = password;
            _resultValue.username = username;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy