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

com.pulumi.azurenative.app.inputs.HttpSettingsArgs 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.app.inputs;

import com.pulumi.azurenative.app.inputs.ForwardProxyArgs;
import com.pulumi.azurenative.app.inputs.HttpSettingsRoutesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization.
 * 
 */
public final class HttpSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final HttpSettingsArgs Empty = new HttpSettingsArgs();

    /**
     * The configuration settings of a forward proxy used to make the requests.
     * 
     */
    @Import(name="forwardProxy")
    private @Nullable Output forwardProxy;

    /**
     * @return The configuration settings of a forward proxy used to make the requests.
     * 
     */
    public Optional> forwardProxy() {
        return Optional.ofNullable(this.forwardProxy);
    }

    /**
     * <code>false</code> if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, <code>true</code>.
     * 
     */
    @Import(name="requireHttps")
    private @Nullable Output requireHttps;

    /**
     * @return <code>false</code> if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, <code>true</code>.
     * 
     */
    public Optional> requireHttps() {
        return Optional.ofNullable(this.requireHttps);
    }

    /**
     * The configuration settings of the paths HTTP requests.
     * 
     */
    @Import(name="routes")
    private @Nullable Output routes;

    /**
     * @return The configuration settings of the paths HTTP requests.
     * 
     */
    public Optional> routes() {
        return Optional.ofNullable(this.routes);
    }

    private HttpSettingsArgs() {}

    private HttpSettingsArgs(HttpSettingsArgs $) {
        this.forwardProxy = $.forwardProxy;
        this.requireHttps = $.requireHttps;
        this.routes = $.routes;
    }

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

    public static final class Builder {
        private HttpSettingsArgs $;

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

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

        /**
         * @param forwardProxy The configuration settings of a forward proxy used to make the requests.
         * 
         * @return builder
         * 
         */
        public Builder forwardProxy(@Nullable Output forwardProxy) {
            $.forwardProxy = forwardProxy;
            return this;
        }

        /**
         * @param forwardProxy The configuration settings of a forward proxy used to make the requests.
         * 
         * @return builder
         * 
         */
        public Builder forwardProxy(ForwardProxyArgs forwardProxy) {
            return forwardProxy(Output.of(forwardProxy));
        }

        /**
         * @param requireHttps <code>false</code> if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, <code>true</code>.
         * 
         * @return builder
         * 
         */
        public Builder requireHttps(@Nullable Output requireHttps) {
            $.requireHttps = requireHttps;
            return this;
        }

        /**
         * @param requireHttps <code>false</code> if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, <code>true</code>.
         * 
         * @return builder
         * 
         */
        public Builder requireHttps(Boolean requireHttps) {
            return requireHttps(Output.of(requireHttps));
        }

        /**
         * @param routes The configuration settings of the paths HTTP requests.
         * 
         * @return builder
         * 
         */
        public Builder routes(@Nullable Output routes) {
            $.routes = routes;
            return this;
        }

        /**
         * @param routes The configuration settings of the paths HTTP requests.
         * 
         * @return builder
         * 
         */
        public Builder routes(HttpSettingsRoutesArgs routes) {
            return routes(Output.of(routes));
        }

        public HttpSettingsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy