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

com.pulumi.azurenative.portalservices.CopilotSettingArgs 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.portalservices;

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


public final class CopilotSettingArgs extends com.pulumi.resources.ResourceArgs {

    public static final CopilotSettingArgs Empty = new CopilotSettingArgs();

    /**
     * Boolean indicating if role-based access control is enabled for copilot in this tenant.
     * 
     */
    @Import(name="accessControlEnabled", required=true)
    private Output accessControlEnabled;

    /**
     * @return Boolean indicating if role-based access control is enabled for copilot in this tenant.
     * 
     */
    public Output accessControlEnabled() {
        return this.accessControlEnabled;
    }

    private CopilotSettingArgs() {}

    private CopilotSettingArgs(CopilotSettingArgs $) {
        this.accessControlEnabled = $.accessControlEnabled;
    }

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

    public static final class Builder {
        private CopilotSettingArgs $;

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

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

        /**
         * @param accessControlEnabled Boolean indicating if role-based access control is enabled for copilot in this tenant.
         * 
         * @return builder
         * 
         */
        public Builder accessControlEnabled(Output accessControlEnabled) {
            $.accessControlEnabled = accessControlEnabled;
            return this;
        }

        /**
         * @param accessControlEnabled Boolean indicating if role-based access control is enabled for copilot in this tenant.
         * 
         * @return builder
         * 
         */
        public Builder accessControlEnabled(Boolean accessControlEnabled) {
            return accessControlEnabled(Output.of(accessControlEnabled));
        }

        public CopilotSettingArgs build() {
            if ($.accessControlEnabled == null) {
                throw new MissingRequiredPropertyException("CopilotSettingArgs", "accessControlEnabled");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy