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

com.pulumi.azurenative.azureactivedirectory.inputs.CreateCIAMTenantPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.azureactivedirectory.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;


/**
 * These properties are used to create the Azure AD for customers tenant. These properties are not part of the Azure resource.
 * 
 */
public final class CreateCIAMTenantPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final CreateCIAMTenantPropertiesArgs Empty = new CreateCIAMTenantPropertiesArgs();

    /**
     * Country code of Azure tenant (e.g. 'US'). Refer to [https://aka.ms/ciam-data-location](https://aka.ms/ciam-data-location) to see valid country codes and corresponding data residency locations. If you do not see a country code in an valid data residency location, choose one from the list.
     * 
     */
    @Import(name="countryCode", required=true)
    private Output countryCode;

    /**
     * @return Country code of Azure tenant (e.g. 'US'). Refer to [https://aka.ms/ciam-data-location](https://aka.ms/ciam-data-location) to see valid country codes and corresponding data residency locations. If you do not see a country code in an valid data residency location, choose one from the list.
     * 
     */
    public Output countryCode() {
        return this.countryCode;
    }

    /**
     * The display name of the Azure AD for customers tenant.
     * 
     */
    @Import(name="displayName", required=true)
    private Output displayName;

    /**
     * @return The display name of the Azure AD for customers tenant.
     * 
     */
    public Output displayName() {
        return this.displayName;
    }

    private CreateCIAMTenantPropertiesArgs() {}

    private CreateCIAMTenantPropertiesArgs(CreateCIAMTenantPropertiesArgs $) {
        this.countryCode = $.countryCode;
        this.displayName = $.displayName;
    }

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

    public static final class Builder {
        private CreateCIAMTenantPropertiesArgs $;

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

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

        /**
         * @param countryCode Country code of Azure tenant (e.g. 'US'). Refer to [https://aka.ms/ciam-data-location](https://aka.ms/ciam-data-location) to see valid country codes and corresponding data residency locations. If you do not see a country code in an valid data residency location, choose one from the list.
         * 
         * @return builder
         * 
         */
        public Builder countryCode(Output countryCode) {
            $.countryCode = countryCode;
            return this;
        }

        /**
         * @param countryCode Country code of Azure tenant (e.g. 'US'). Refer to [https://aka.ms/ciam-data-location](https://aka.ms/ciam-data-location) to see valid country codes and corresponding data residency locations. If you do not see a country code in an valid data residency location, choose one from the list.
         * 
         * @return builder
         * 
         */
        public Builder countryCode(String countryCode) {
            return countryCode(Output.of(countryCode));
        }

        /**
         * @param displayName The display name of the Azure AD for customers tenant.
         * 
         * @return builder
         * 
         */
        public Builder displayName(Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName The display name of the Azure AD for customers tenant.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        public CreateCIAMTenantPropertiesArgs build() {
            if ($.countryCode == null) {
                throw new MissingRequiredPropertyException("CreateCIAMTenantPropertiesArgs", "countryCode");
            }
            if ($.displayName == null) {
                throw new MissingRequiredPropertyException("CreateCIAMTenantPropertiesArgs", "displayName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy