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

com.pulumi.azure.appservice.inputs.WindowsWebAppSlotAuthSettingsV2AppleV2Args 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.appservice.inputs;

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


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

    public static final WindowsWebAppSlotAuthSettingsV2AppleV2Args Empty = new WindowsWebAppSlotAuthSettingsV2AppleV2Args();

    /**
     * The OpenID Connect Client ID for the Apple web application.
     * 
     */
    @Import(name="clientId", required=true)
    private Output clientId;

    /**
     * @return The OpenID Connect Client ID for the Apple web application.
     * 
     */
    public Output clientId() {
        return this.clientId;
    }

    /**
     * The app setting name that contains the `client_secret` value used for Apple Login.
     * 
     * !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
     * 
     */
    @Import(name="clientSecretSettingName", required=true)
    private Output clientSecretSettingName;

    /**
     * @return The app setting name that contains the `client_secret` value used for Apple Login.
     * 
     * !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
     * 
     */
    public Output clientSecretSettingName() {
        return this.clientSecretSettingName;
    }

    /**
     * A list of Login Scopes provided by this Authentication Provider.
     * 
     * > **NOTE:** This is configured on the Authentication Provider side and is Read Only here.
     * 
     */
    @Import(name="loginScopes")
    private @Nullable Output> loginScopes;

    /**
     * @return A list of Login Scopes provided by this Authentication Provider.
     * 
     * > **NOTE:** This is configured on the Authentication Provider side and is Read Only here.
     * 
     */
    public Optional>> loginScopes() {
        return Optional.ofNullable(this.loginScopes);
    }

    private WindowsWebAppSlotAuthSettingsV2AppleV2Args() {}

    private WindowsWebAppSlotAuthSettingsV2AppleV2Args(WindowsWebAppSlotAuthSettingsV2AppleV2Args $) {
        this.clientId = $.clientId;
        this.clientSecretSettingName = $.clientSecretSettingName;
        this.loginScopes = $.loginScopes;
    }

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

    public static final class Builder {
        private WindowsWebAppSlotAuthSettingsV2AppleV2Args $;

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

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

        /**
         * @param clientId The OpenID Connect Client ID for the Apple web application.
         * 
         * @return builder
         * 
         */
        public Builder clientId(Output clientId) {
            $.clientId = clientId;
            return this;
        }

        /**
         * @param clientId The OpenID Connect Client ID for the Apple web application.
         * 
         * @return builder
         * 
         */
        public Builder clientId(String clientId) {
            return clientId(Output.of(clientId));
        }

        /**
         * @param clientSecretSettingName The app setting name that contains the `client_secret` value used for Apple Login.
         * 
         * !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
         * 
         * @return builder
         * 
         */
        public Builder clientSecretSettingName(Output clientSecretSettingName) {
            $.clientSecretSettingName = clientSecretSettingName;
            return this;
        }

        /**
         * @param clientSecretSettingName The app setting name that contains the `client_secret` value used for Apple Login.
         * 
         * !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
         * 
         * @return builder
         * 
         */
        public Builder clientSecretSettingName(String clientSecretSettingName) {
            return clientSecretSettingName(Output.of(clientSecretSettingName));
        }

        /**
         * @param loginScopes A list of Login Scopes provided by this Authentication Provider.
         * 
         * > **NOTE:** This is configured on the Authentication Provider side and is Read Only here.
         * 
         * @return builder
         * 
         */
        public Builder loginScopes(@Nullable Output> loginScopes) {
            $.loginScopes = loginScopes;
            return this;
        }

        /**
         * @param loginScopes A list of Login Scopes provided by this Authentication Provider.
         * 
         * > **NOTE:** This is configured on the Authentication Provider side and is Read Only here.
         * 
         * @return builder
         * 
         */
        public Builder loginScopes(List loginScopes) {
            return loginScopes(Output.of(loginScopes));
        }

        /**
         * @param loginScopes A list of Login Scopes provided by this Authentication Provider.
         * 
         * > **NOTE:** This is configured on the Authentication Provider side and is Read Only here.
         * 
         * @return builder
         * 
         */
        public Builder loginScopes(String... loginScopes) {
            return loginScopes(List.of(loginScopes));
        }

        public WindowsWebAppSlotAuthSettingsV2AppleV2Args build() {
            if ($.clientId == null) {
                throw new MissingRequiredPropertyException("WindowsWebAppSlotAuthSettingsV2AppleV2Args", "clientId");
            }
            if ($.clientSecretSettingName == null) {
                throw new MissingRequiredPropertyException("WindowsWebAppSlotAuthSettingsV2AppleV2Args", "clientSecretSettingName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy