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

com.pulumi.azurenative.hybridcontainerservice.inputs.HttpProxyConfigArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.hybridcontainerservice.inputs;

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


/**
 * Configurations for provisioning the cluster with HTTP proxy servers.
 * 
 */
public final class HttpProxyConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final HttpProxyConfigArgs Empty = new HttpProxyConfigArgs();

    /**
     * The HTTP proxy server endpoint to use.
     * 
     */
    @Import(name="httpProxy")
    private @Nullable Output httpProxy;

    /**
     * @return The HTTP proxy server endpoint to use.
     * 
     */
    public Optional> httpProxy() {
        return Optional.ofNullable(this.httpProxy);
    }

    /**
     * The HTTPS proxy server endpoint to use.
     * 
     */
    @Import(name="httpsProxy")
    private @Nullable Output httpsProxy;

    /**
     * @return The HTTPS proxy server endpoint to use.
     * 
     */
    public Optional> httpsProxy() {
        return Optional.ofNullable(this.httpsProxy);
    }

    /**
     * The endpoints that should not go through proxy.
     * 
     */
    @Import(name="noProxy")
    private @Nullable Output> noProxy;

    /**
     * @return The endpoints that should not go through proxy.
     * 
     */
    public Optional>> noProxy() {
        return Optional.ofNullable(this.noProxy);
    }

    /**
     * Password to use for connecting to proxy server
     * 
     */
    @Import(name="password")
    private @Nullable Output password;

    /**
     * @return Password to use for connecting to proxy server
     * 
     */
    public Optional> password() {
        return Optional.ofNullable(this.password);
    }

    /**
     * Alternative CA cert to use for connecting to proxy servers.
     * 
     */
    @Import(name="trustedCa")
    private @Nullable Output trustedCa;

    /**
     * @return Alternative CA cert to use for connecting to proxy servers.
     * 
     */
    public Optional> trustedCa() {
        return Optional.ofNullable(this.trustedCa);
    }

    /**
     * Username to use for connecting to proxy server
     * 
     */
    @Import(name="username")
    private @Nullable Output username;

    /**
     * @return Username to use for connecting to proxy server
     * 
     */
    public Optional> username() {
        return Optional.ofNullable(this.username);
    }

    private HttpProxyConfigArgs() {}

    private HttpProxyConfigArgs(HttpProxyConfigArgs $) {
        this.httpProxy = $.httpProxy;
        this.httpsProxy = $.httpsProxy;
        this.noProxy = $.noProxy;
        this.password = $.password;
        this.trustedCa = $.trustedCa;
        this.username = $.username;
    }

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

    public static final class Builder {
        private HttpProxyConfigArgs $;

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

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

        /**
         * @param httpProxy The HTTP proxy server endpoint to use.
         * 
         * @return builder
         * 
         */
        public Builder httpProxy(@Nullable Output httpProxy) {
            $.httpProxy = httpProxy;
            return this;
        }

        /**
         * @param httpProxy The HTTP proxy server endpoint to use.
         * 
         * @return builder
         * 
         */
        public Builder httpProxy(String httpProxy) {
            return httpProxy(Output.of(httpProxy));
        }

        /**
         * @param httpsProxy The HTTPS proxy server endpoint to use.
         * 
         * @return builder
         * 
         */
        public Builder httpsProxy(@Nullable Output httpsProxy) {
            $.httpsProxy = httpsProxy;
            return this;
        }

        /**
         * @param httpsProxy The HTTPS proxy server endpoint to use.
         * 
         * @return builder
         * 
         */
        public Builder httpsProxy(String httpsProxy) {
            return httpsProxy(Output.of(httpsProxy));
        }

        /**
         * @param noProxy The endpoints that should not go through proxy.
         * 
         * @return builder
         * 
         */
        public Builder noProxy(@Nullable Output> noProxy) {
            $.noProxy = noProxy;
            return this;
        }

        /**
         * @param noProxy The endpoints that should not go through proxy.
         * 
         * @return builder
         * 
         */
        public Builder noProxy(List noProxy) {
            return noProxy(Output.of(noProxy));
        }

        /**
         * @param noProxy The endpoints that should not go through proxy.
         * 
         * @return builder
         * 
         */
        public Builder noProxy(String... noProxy) {
            return noProxy(List.of(noProxy));
        }

        /**
         * @param password Password to use for connecting to proxy server
         * 
         * @return builder
         * 
         */
        public Builder password(@Nullable Output password) {
            $.password = password;
            return this;
        }

        /**
         * @param password Password to use for connecting to proxy server
         * 
         * @return builder
         * 
         */
        public Builder password(String password) {
            return password(Output.of(password));
        }

        /**
         * @param trustedCa Alternative CA cert to use for connecting to proxy servers.
         * 
         * @return builder
         * 
         */
        public Builder trustedCa(@Nullable Output trustedCa) {
            $.trustedCa = trustedCa;
            return this;
        }

        /**
         * @param trustedCa Alternative CA cert to use for connecting to proxy servers.
         * 
         * @return builder
         * 
         */
        public Builder trustedCa(String trustedCa) {
            return trustedCa(Output.of(trustedCa));
        }

        /**
         * @param username Username to use for connecting to proxy server
         * 
         * @return builder
         * 
         */
        public Builder username(@Nullable Output username) {
            $.username = username;
            return this;
        }

        /**
         * @param username Username to use for connecting to proxy server
         * 
         * @return builder
         * 
         */
        public Builder username(String username) {
            return username(Output.of(username));
        }

        public HttpProxyConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy