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

com.pulumi.azurenative.web.WebAppAuthSettingsV2SlotArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.web;

import com.pulumi.azurenative.web.inputs.AuthPlatformArgs;
import com.pulumi.azurenative.web.inputs.GlobalValidationArgs;
import com.pulumi.azurenative.web.inputs.HttpSettingsArgs;
import com.pulumi.azurenative.web.inputs.IdentityProvidersArgs;
import com.pulumi.azurenative.web.inputs.LoginArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class WebAppAuthSettingsV2SlotArgs extends com.pulumi.resources.ResourceArgs {

    public static final WebAppAuthSettingsV2SlotArgs Empty = new WebAppAuthSettingsV2SlotArgs();

    /**
     * The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.
     * 
     */
    @Import(name="globalValidation")
    private @Nullable Output globalValidation;

    /**
     * @return The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.
     * 
     */
    public Optional> globalValidation() {
        return Optional.ofNullable(this.globalValidation);
    }

    /**
     * The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.
     * 
     */
    @Import(name="httpSettings")
    private @Nullable Output httpSettings;

    /**
     * @return The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.
     * 
     */
    public Optional> httpSettings() {
        return Optional.ofNullable(this.httpSettings);
    }

    /**
     * The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.
     * 
     */
    @Import(name="identityProviders")
    private @Nullable Output identityProviders;

    /**
     * @return The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.
     * 
     */
    public Optional> identityProviders() {
        return Optional.ofNullable(this.identityProviders);
    }

    /**
     * Kind of resource.
     * 
     */
    @Import(name="kind")
    private @Nullable Output kind;

    /**
     * @return Kind of resource.
     * 
     */
    public Optional> kind() {
        return Optional.ofNullable(this.kind);
    }

    /**
     * The configuration settings of the login flow of users using App Service Authentication/Authorization.
     * 
     */
    @Import(name="login")
    private @Nullable Output login;

    /**
     * @return The configuration settings of the login flow of users using App Service Authentication/Authorization.
     * 
     */
    public Optional> login() {
        return Optional.ofNullable(this.login);
    }

    /**
     * Name of web app.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return Name of web app.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * The configuration settings of the platform of App Service Authentication/Authorization.
     * 
     */
    @Import(name="platform")
    private @Nullable Output platform;

    /**
     * @return The configuration settings of the platform of App Service Authentication/Authorization.
     * 
     */
    public Optional> platform() {
        return Optional.ofNullable(this.platform);
    }

    /**
     * Name of the resource group to which the resource belongs.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return Name of the resource group to which the resource belongs.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Name of web app slot. If not specified then will default to production slot.
     * 
     */
    @Import(name="slot", required=true)
    private Output slot;

    /**
     * @return Name of web app slot. If not specified then will default to production slot.
     * 
     */
    public Output slot() {
        return this.slot;
    }

    private WebAppAuthSettingsV2SlotArgs() {}

    private WebAppAuthSettingsV2SlotArgs(WebAppAuthSettingsV2SlotArgs $) {
        this.globalValidation = $.globalValidation;
        this.httpSettings = $.httpSettings;
        this.identityProviders = $.identityProviders;
        this.kind = $.kind;
        this.login = $.login;
        this.name = $.name;
        this.platform = $.platform;
        this.resourceGroupName = $.resourceGroupName;
        this.slot = $.slot;
    }

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

    public static final class Builder {
        private WebAppAuthSettingsV2SlotArgs $;

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

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

        /**
         * @param globalValidation The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.
         * 
         * @return builder
         * 
         */
        public Builder globalValidation(@Nullable Output globalValidation) {
            $.globalValidation = globalValidation;
            return this;
        }

        /**
         * @param globalValidation The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.
         * 
         * @return builder
         * 
         */
        public Builder globalValidation(GlobalValidationArgs globalValidation) {
            return globalValidation(Output.of(globalValidation));
        }

        /**
         * @param httpSettings The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.
         * 
         * @return builder
         * 
         */
        public Builder httpSettings(@Nullable Output httpSettings) {
            $.httpSettings = httpSettings;
            return this;
        }

        /**
         * @param httpSettings The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.
         * 
         * @return builder
         * 
         */
        public Builder httpSettings(HttpSettingsArgs httpSettings) {
            return httpSettings(Output.of(httpSettings));
        }

        /**
         * @param identityProviders The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.
         * 
         * @return builder
         * 
         */
        public Builder identityProviders(@Nullable Output identityProviders) {
            $.identityProviders = identityProviders;
            return this;
        }

        /**
         * @param identityProviders The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.
         * 
         * @return builder
         * 
         */
        public Builder identityProviders(IdentityProvidersArgs identityProviders) {
            return identityProviders(Output.of(identityProviders));
        }

        /**
         * @param kind Kind of resource.
         * 
         * @return builder
         * 
         */
        public Builder kind(@Nullable Output kind) {
            $.kind = kind;
            return this;
        }

        /**
         * @param kind Kind of resource.
         * 
         * @return builder
         * 
         */
        public Builder kind(String kind) {
            return kind(Output.of(kind));
        }

        /**
         * @param login The configuration settings of the login flow of users using App Service Authentication/Authorization.
         * 
         * @return builder
         * 
         */
        public Builder login(@Nullable Output login) {
            $.login = login;
            return this;
        }

        /**
         * @param login The configuration settings of the login flow of users using App Service Authentication/Authorization.
         * 
         * @return builder
         * 
         */
        public Builder login(LoginArgs login) {
            return login(Output.of(login));
        }

        /**
         * @param name Name of web app.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of web app.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param platform The configuration settings of the platform of App Service Authentication/Authorization.
         * 
         * @return builder
         * 
         */
        public Builder platform(@Nullable Output platform) {
            $.platform = platform;
            return this;
        }

        /**
         * @param platform The configuration settings of the platform of App Service Authentication/Authorization.
         * 
         * @return builder
         * 
         */
        public Builder platform(AuthPlatformArgs platform) {
            return platform(Output.of(platform));
        }

        /**
         * @param resourceGroupName Name of the resource group to which the resource belongs.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Name of the resource group to which the resource belongs.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param slot Name of web app slot. If not specified then will default to production slot.
         * 
         * @return builder
         * 
         */
        public Builder slot(Output slot) {
            $.slot = slot;
            return this;
        }

        /**
         * @param slot Name of web app slot. If not specified then will default to production slot.
         * 
         * @return builder
         * 
         */
        public Builder slot(String slot) {
            return slot(Output.of(slot));
        }

        public WebAppAuthSettingsV2SlotArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("WebAppAuthSettingsV2SlotArgs", "name");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("WebAppAuthSettingsV2SlotArgs", "resourceGroupName");
            }
            if ($.slot == null) {
                throw new MissingRequiredPropertyException("WebAppAuthSettingsV2SlotArgs", "slot");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy