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

com.pulumi.azuread.inputs.AdministrativeUnitRoleMemberState 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 AdministrativeUnitRoleMemberState extends com.pulumi.resources.ResourceArgs {

    public static final AdministrativeUnitRoleMemberState Empty = new AdministrativeUnitRoleMemberState();

    /**
     * The object ID of the administrative unit you want to add the member to. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="administrativeUnitObjectId")
    private @Nullable Output administrativeUnitObjectId;

    /**
     * @return The object ID of the administrative unit you want to add the member to. Changing this forces a new resource to be created.
     * 
     */
    public Optional> administrativeUnitObjectId() {
        return Optional.ofNullable(this.administrativeUnitObjectId);
    }

    /**
     * The object ID of the user, group or service principal you want to add as a member of the administrative unit. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="memberObjectId")
    private @Nullable Output memberObjectId;

    /**
     * @return The object ID of the user, group or service principal you want to add as a member of the administrative unit. Changing this forces a new resource to be created.
     * 
     */
    public Optional> memberObjectId() {
        return Optional.ofNullable(this.memberObjectId);
    }

    /**
     * The object ID of the directory role you want to assign. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="roleObjectId")
    private @Nullable Output roleObjectId;

    /**
     * @return The object ID of the directory role you want to assign. Changing this forces a new resource to be created.
     * 
     */
    public Optional> roleObjectId() {
        return Optional.ofNullable(this.roleObjectId);
    }

    private AdministrativeUnitRoleMemberState() {}

    private AdministrativeUnitRoleMemberState(AdministrativeUnitRoleMemberState $) {
        this.administrativeUnitObjectId = $.administrativeUnitObjectId;
        this.memberObjectId = $.memberObjectId;
        this.roleObjectId = $.roleObjectId;
    }

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

    public static final class Builder {
        private AdministrativeUnitRoleMemberState $;

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

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

        /**
         * @param administrativeUnitObjectId The object ID of the administrative unit you want to add the member to. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder administrativeUnitObjectId(@Nullable Output administrativeUnitObjectId) {
            $.administrativeUnitObjectId = administrativeUnitObjectId;
            return this;
        }

        /**
         * @param administrativeUnitObjectId The object ID of the administrative unit you want to add the member to. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder administrativeUnitObjectId(String administrativeUnitObjectId) {
            return administrativeUnitObjectId(Output.of(administrativeUnitObjectId));
        }

        /**
         * @param memberObjectId The object ID of the user, group or service principal you want to add as a member of the administrative unit. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder memberObjectId(@Nullable Output memberObjectId) {
            $.memberObjectId = memberObjectId;
            return this;
        }

        /**
         * @param memberObjectId The object ID of the user, group or service principal you want to add as a member of the administrative unit. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder memberObjectId(String memberObjectId) {
            return memberObjectId(Output.of(memberObjectId));
        }

        /**
         * @param roleObjectId The object ID of the directory role you want to assign. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder roleObjectId(@Nullable Output roleObjectId) {
            $.roleObjectId = roleObjectId;
            return this;
        }

        /**
         * @param roleObjectId The object ID of the directory role you want to assign. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder roleObjectId(String roleObjectId) {
            return roleObjectId(Output.of(roleObjectId));
        }

        public AdministrativeUnitRoleMemberState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy