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

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


public final class GetDirectoryPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetDirectoryPlainArgs Empty = new GetDirectoryPlainArgs();

    /**
     * Domain name of the B2C tenant, including the `.onmicrosoft.com` suffix.
     * 
     */
    @Import(name="domainName", required=true)
    private String domainName;

    /**
     * @return Domain name of the B2C tenant, including the `.onmicrosoft.com` suffix.
     * 
     */
    public String domainName() {
        return this.domainName;
    }

    /**
     * The name of the Resource Group where the AAD B2C Directory exists.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the Resource Group where the AAD B2C Directory exists.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetDirectoryPlainArgs() {}

    private GetDirectoryPlainArgs(GetDirectoryPlainArgs $) {
        this.domainName = $.domainName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetDirectoryPlainArgs $;

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

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

        /**
         * @param domainName Domain name of the B2C tenant, including the `.onmicrosoft.com` suffix.
         * 
         * @return builder
         * 
         */
        public Builder domainName(String domainName) {
            $.domainName = domainName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the Resource Group where the AAD B2C Directory exists.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public GetDirectoryPlainArgs build() {
            $.domainName = Objects.requireNonNull($.domainName, "expected parameter 'domainName' to be non-null");
            $.resourceGroupName = Objects.requireNonNull($.resourceGroupName, "expected parameter 'resourceGroupName' to be non-null");
            return $;
        }
    }

}
