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

com.pulumi.azurenative.synapse.WorkspaceSqlAadAdminArgs Maven / Gradle / Ivy

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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final WorkspaceSqlAadAdminArgs Empty = new WorkspaceSqlAadAdminArgs();

    /**
     * Workspace active directory administrator type
     * 
     */
    @Import(name="administratorType")
    private @Nullable Output administratorType;

    /**
     * @return Workspace active directory administrator type
     * 
     */
    public Optional> administratorType() {
        return Optional.ofNullable(this.administratorType);
    }

    /**
     * Login of the workspace active directory administrator
     * 
     */
    @Import(name="login")
    private @Nullable Output login;

    /**
     * @return Login of the workspace active directory administrator
     * 
     */
    public Optional> login() {
        return Optional.ofNullable(this.login);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Object ID of the workspace active directory administrator
     * 
     */
    @Import(name="sid")
    private @Nullable Output sid;

    /**
     * @return Object ID of the workspace active directory administrator
     * 
     */
    public Optional> sid() {
        return Optional.ofNullable(this.sid);
    }

    /**
     * Tenant ID of the workspace active directory administrator
     * 
     */
    @Import(name="tenantId")
    private @Nullable Output tenantId;

    /**
     * @return Tenant ID of the workspace active directory administrator
     * 
     */
    public Optional> tenantId() {
        return Optional.ofNullable(this.tenantId);
    }

    /**
     * The name of the workspace.
     * 
     */
    @Import(name="workspaceName", required=true)
    private Output workspaceName;

    /**
     * @return The name of the workspace.
     * 
     */
    public Output workspaceName() {
        return this.workspaceName;
    }

    private WorkspaceSqlAadAdminArgs() {}

    private WorkspaceSqlAadAdminArgs(WorkspaceSqlAadAdminArgs $) {
        this.administratorType = $.administratorType;
        this.login = $.login;
        this.resourceGroupName = $.resourceGroupName;
        this.sid = $.sid;
        this.tenantId = $.tenantId;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private WorkspaceSqlAadAdminArgs $;

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

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

        /**
         * @param administratorType Workspace active directory administrator type
         * 
         * @return builder
         * 
         */
        public Builder administratorType(@Nullable Output administratorType) {
            $.administratorType = administratorType;
            return this;
        }

        /**
         * @param administratorType Workspace active directory administrator type
         * 
         * @return builder
         * 
         */
        public Builder administratorType(String administratorType) {
            return administratorType(Output.of(administratorType));
        }

        /**
         * @param login Login of the workspace active directory administrator
         * 
         * @return builder
         * 
         */
        public Builder login(@Nullable Output login) {
            $.login = login;
            return this;
        }

        /**
         * @param login Login of the workspace active directory administrator
         * 
         * @return builder
         * 
         */
        public Builder login(String login) {
            return login(Output.of(login));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param sid Object ID of the workspace active directory administrator
         * 
         * @return builder
         * 
         */
        public Builder sid(@Nullable Output sid) {
            $.sid = sid;
            return this;
        }

        /**
         * @param sid Object ID of the workspace active directory administrator
         * 
         * @return builder
         * 
         */
        public Builder sid(String sid) {
            return sid(Output.of(sid));
        }

        /**
         * @param tenantId Tenant ID of the workspace active directory administrator
         * 
         * @return builder
         * 
         */
        public Builder tenantId(@Nullable Output tenantId) {
            $.tenantId = tenantId;
            return this;
        }

        /**
         * @param tenantId Tenant ID of the workspace active directory administrator
         * 
         * @return builder
         * 
         */
        public Builder tenantId(String tenantId) {
            return tenantId(Output.of(tenantId));
        }

        /**
         * @param workspaceName The name of the workspace.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(Output workspaceName) {
            $.workspaceName = workspaceName;
            return this;
        }

        /**
         * @param workspaceName The name of the workspace.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(String workspaceName) {
            return workspaceName(Output.of(workspaceName));
        }

        public WorkspaceSqlAadAdminArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("WorkspaceSqlAadAdminArgs", "resourceGroupName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("WorkspaceSqlAadAdminArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy