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

com.pulumi.azure.containerservice.outputs.KubernetesClusterHttpProxyConfig Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.containerservice.outputs;

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

@CustomType
public final class KubernetesClusterHttpProxyConfig {
    /**
     * @return The proxy address to be used when communicating over HTTP.
     * 
     */
    private @Nullable String httpProxy;
    /**
     * @return The proxy address to be used when communicating over HTTPS.
     * 
     */
    private @Nullable String httpsProxy;
    private @Nullable List noProxies;
    /**
     * @return The base64 encoded alternative CA certificate content in PEM format.
     * 
     */
    private @Nullable String trustedCa;

    private KubernetesClusterHttpProxyConfig() {}
    /**
     * @return The proxy address to be used when communicating over HTTP.
     * 
     */
    public Optional httpProxy() {
        return Optional.ofNullable(this.httpProxy);
    }
    /**
     * @return The proxy address to be used when communicating over HTTPS.
     * 
     */
    public Optional httpsProxy() {
        return Optional.ofNullable(this.httpsProxy);
    }
    public List noProxies() {
        return this.noProxies == null ? List.of() : this.noProxies;
    }
    /**
     * @return The base64 encoded alternative CA certificate content in PEM format.
     * 
     */
    public Optional trustedCa() {
        return Optional.ofNullable(this.trustedCa);
    }

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

    public static Builder builder(KubernetesClusterHttpProxyConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String httpProxy;
        private @Nullable String httpsProxy;
        private @Nullable List noProxies;
        private @Nullable String trustedCa;
        public Builder() {}
        public Builder(KubernetesClusterHttpProxyConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.httpProxy = defaults.httpProxy;
    	      this.httpsProxy = defaults.httpsProxy;
    	      this.noProxies = defaults.noProxies;
    	      this.trustedCa = defaults.trustedCa;
        }

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

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

            this.httpsProxy = httpsProxy;
            return this;
        }
        @CustomType.Setter
        public Builder noProxies(@Nullable List noProxies) {

            this.noProxies = noProxies;
            return this;
        }
        public Builder noProxies(String... noProxies) {
            return noProxies(List.of(noProxies));
        }
        @CustomType.Setter
        public Builder trustedCa(@Nullable String trustedCa) {

            this.trustedCa = trustedCa;
            return this;
        }
        public KubernetesClusterHttpProxyConfig build() {
            final var _resultValue = new KubernetesClusterHttpProxyConfig();
            _resultValue.httpProxy = httpProxy;
            _resultValue.httpsProxy = httpsProxy;
            _resultValue.noProxies = noProxies;
            _resultValue.trustedCa = trustedCa;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy