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

com.pulumi.azurenative.web.inputs.GoogleArgs 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.inputs;

import com.pulumi.azurenative.web.inputs.AllowedAudiencesValidationArgs;
import com.pulumi.azurenative.web.inputs.ClientRegistrationArgs;
import com.pulumi.azurenative.web.inputs.LoginScopesArgs;
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 Google provider.
 * 
 */
public final class GoogleArgs extends com.pulumi.resources.ResourceArgs {

    public static final GoogleArgs Empty = new GoogleArgs();

    /**
     * <code>false</code> if the Google provider should not be enabled despite the set registration; otherwise, <code>true</code>.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return <code>false</code> if the Google provider should not be enabled despite the set registration; otherwise, <code>true</code>.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    /**
     * The configuration settings of the login flow.
     * 
     */
    @Import(name="login")
    private @Nullable Output login;

    /**
     * @return The configuration settings of the login flow.
     * 
     */
    public Optional> login() {
        return Optional.ofNullable(this.login);
    }

    /**
     * The configuration settings of the app registration for the Google provider.
     * 
     */
    @Import(name="registration")
    private @Nullable Output registration;

    /**
     * @return The configuration settings of the app registration for the Google provider.
     * 
     */
    public Optional> registration() {
        return Optional.ofNullable(this.registration);
    }

    /**
     * The configuration settings of the Azure Active Directory token validation flow.
     * 
     */
    @Import(name="validation")
    private @Nullable Output validation;

    /**
     * @return The configuration settings of the Azure Active Directory token validation flow.
     * 
     */
    public Optional> validation() {
        return Optional.ofNullable(this.validation);
    }

    private GoogleArgs() {}

    private GoogleArgs(GoogleArgs $) {
        this.enabled = $.enabled;
        this.login = $.login;
        this.registration = $.registration;
        this.validation = $.validation;
    }

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

    public static final class Builder {
        private GoogleArgs $;

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

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

        /**
         * @param enabled <code>false</code> if the Google provider should not be enabled despite the set registration; otherwise, <code>true</code>.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled <code>false</code> if the Google provider should not be enabled despite the set registration; otherwise, <code>true</code>.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

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

        /**
         * @param login The configuration settings of the login flow.
         * 
         * @return builder
         * 
         */
        public Builder login(LoginScopesArgs login) {
            return login(Output.of(login));
        }

        /**
         * @param registration The configuration settings of the app registration for the Google provider.
         * 
         * @return builder
         * 
         */
        public Builder registration(@Nullable Output registration) {
            $.registration = registration;
            return this;
        }

        /**
         * @param registration The configuration settings of the app registration for the Google provider.
         * 
         * @return builder
         * 
         */
        public Builder registration(ClientRegistrationArgs registration) {
            return registration(Output.of(registration));
        }

        /**
         * @param validation The configuration settings of the Azure Active Directory token validation flow.
         * 
         * @return builder
         * 
         */
        public Builder validation(@Nullable Output validation) {
            $.validation = validation;
            return this;
        }

        /**
         * @param validation The configuration settings of the Azure Active Directory token validation flow.
         * 
         * @return builder
         * 
         */
        public Builder validation(AllowedAudiencesValidationArgs validation) {
            return validation(Output.of(validation));
        }

        public GoogleArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy