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

com.pulumi.azurenative.web.inputs.AzureStaticWebAppsRegistrationArgs Maven / Gradle / Ivy

The 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.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The configuration settings of the registration for the Azure Static Web Apps provider
 * 
 */
public final class AzureStaticWebAppsRegistrationArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureStaticWebAppsRegistrationArgs Empty = new AzureStaticWebAppsRegistrationArgs();

    /**
     * The Client ID of the app used for login.
     * 
     */
    @Import(name="clientId")
    private @Nullable Output clientId;

    /**
     * @return The Client ID of the app used for login.
     * 
     */
    public Optional> clientId() {
        return Optional.ofNullable(this.clientId);
    }

    private AzureStaticWebAppsRegistrationArgs() {}

    private AzureStaticWebAppsRegistrationArgs(AzureStaticWebAppsRegistrationArgs $) {
        this.clientId = $.clientId;
    }

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

    public static final class Builder {
        private AzureStaticWebAppsRegistrationArgs $;

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

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

        /**
         * @param clientId The Client ID of the app used for login.
         * 
         * @return builder
         * 
         */
        public Builder clientId(@Nullable Output clientId) {
            $.clientId = clientId;
            return this;
        }

        /**
         * @param clientId The Client ID of the app used for login.
         * 
         * @return builder
         * 
         */
        public Builder clientId(String clientId) {
            return clientId(Output.of(clientId));
        }

        public AzureStaticWebAppsRegistrationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy