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

com.pulumi.azuread.inputs.GetAdministrativeUnitArgs 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.azuread.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;


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

    public static final GetAdministrativeUnitArgs Empty = new GetAdministrativeUnitArgs();

    /**
     * Specifies the display name of the administrative unit.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return Specifies the display name of the administrative unit.
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * Specifies the object ID of the administrative unit.
     * 
     * > One of `display_name` or `object_id` must be specified.
     * 
     */
    @Import(name="objectId")
    private @Nullable Output objectId;

    /**
     * @return Specifies the object ID of the administrative unit.
     * 
     * > One of `display_name` or `object_id` must be specified.
     * 
     */
    public Optional> objectId() {
        return Optional.ofNullable(this.objectId);
    }

    private GetAdministrativeUnitArgs() {}

    private GetAdministrativeUnitArgs(GetAdministrativeUnitArgs $) {
        this.displayName = $.displayName;
        this.objectId = $.objectId;
    }

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

    public static final class Builder {
        private GetAdministrativeUnitArgs $;

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

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

        /**
         * @param displayName Specifies the display name of the administrative unit.
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName Specifies the display name of the administrative unit.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param objectId Specifies the object ID of the administrative unit.
         * 
         * > One of `display_name` or `object_id` must be specified.
         * 
         * @return builder
         * 
         */
        public Builder objectId(@Nullable Output objectId) {
            $.objectId = objectId;
            return this;
        }

        /**
         * @param objectId Specifies the object ID of the administrative unit.
         * 
         * > One of `display_name` or `object_id` must be specified.
         * 
         * @return builder
         * 
         */
        public Builder objectId(String objectId) {
            return objectId(Output.of(objectId));
        }

        public GetAdministrativeUnitArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy