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

com.pulumi.azurenative.datamigration.inputs.AzureActiveDirectoryAppArgs Maven / Gradle / Ivy

// *** 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.datamigration.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


/**
 * Azure Active Directory Application
 * 
 */
public final class AzureActiveDirectoryAppArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureActiveDirectoryAppArgs Empty = new AzureActiveDirectoryAppArgs();

    /**
     * Key used to authenticate to the Azure Active Directory Application
     * 
     */
    @Import(name="appKey", required=true)
    private Output appKey;

    /**
     * @return Key used to authenticate to the Azure Active Directory Application
     * 
     */
    public Output appKey() {
        return this.appKey;
    }

    /**
     * Application ID of the Azure Active Directory Application
     * 
     */
    @Import(name="applicationId", required=true)
    private Output applicationId;

    /**
     * @return Application ID of the Azure Active Directory Application
     * 
     */
    public Output applicationId() {
        return this.applicationId;
    }

    /**
     * Tenant id of the customer
     * 
     */
    @Import(name="tenantId", required=true)
    private Output tenantId;

    /**
     * @return Tenant id of the customer
     * 
     */
    public Output tenantId() {
        return this.tenantId;
    }

    private AzureActiveDirectoryAppArgs() {}

    private AzureActiveDirectoryAppArgs(AzureActiveDirectoryAppArgs $) {
        this.appKey = $.appKey;
        this.applicationId = $.applicationId;
        this.tenantId = $.tenantId;
    }

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

    public static final class Builder {
        private AzureActiveDirectoryAppArgs $;

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

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

        /**
         * @param appKey Key used to authenticate to the Azure Active Directory Application
         * 
         * @return builder
         * 
         */
        public Builder appKey(Output appKey) {
            $.appKey = appKey;
            return this;
        }

        /**
         * @param appKey Key used to authenticate to the Azure Active Directory Application
         * 
         * @return builder
         * 
         */
        public Builder appKey(String appKey) {
            return appKey(Output.of(appKey));
        }

        /**
         * @param applicationId Application ID of the Azure Active Directory Application
         * 
         * @return builder
         * 
         */
        public Builder applicationId(Output applicationId) {
            $.applicationId = applicationId;
            return this;
        }

        /**
         * @param applicationId Application ID of the Azure Active Directory Application
         * 
         * @return builder
         * 
         */
        public Builder applicationId(String applicationId) {
            return applicationId(Output.of(applicationId));
        }

        /**
         * @param tenantId Tenant id of the customer
         * 
         * @return builder
         * 
         */
        public Builder tenantId(Output tenantId) {
            $.tenantId = tenantId;
            return this;
        }

        /**
         * @param tenantId Tenant id of the customer
         * 
         * @return builder
         * 
         */
        public Builder tenantId(String tenantId) {
            return tenantId(Output.of(tenantId));
        }

        public AzureActiveDirectoryAppArgs build() {
            if ($.appKey == null) {
                throw new MissingRequiredPropertyException("AzureActiveDirectoryAppArgs", "appKey");
            }
            if ($.applicationId == null) {
                throw new MissingRequiredPropertyException("AzureActiveDirectoryAppArgs", "applicationId");
            }
            if ($.tenantId == null) {
                throw new MissingRequiredPropertyException("AzureActiveDirectoryAppArgs", "tenantId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy