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

com.pulumi.azurenative.synapse.KustoPoolAttachedDatabaseConfigurationArgs 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.synapse;

import com.pulumi.azurenative.synapse.enums.DefaultPrincipalsModificationKind;
import com.pulumi.azurenative.synapse.inputs.TableLevelSharingPropertiesArgs;
import com.pulumi.core.Either;
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 KustoPoolAttachedDatabaseConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final KustoPoolAttachedDatabaseConfigurationArgs Empty = new KustoPoolAttachedDatabaseConfigurationArgs();

    /**
     * The name of the attached database configuration.
     * 
     */
    @Import(name="attachedDatabaseConfigurationName")
    private @Nullable Output attachedDatabaseConfigurationName;

    /**
     * @return The name of the attached database configuration.
     * 
     */
    public Optional> attachedDatabaseConfigurationName() {
        return Optional.ofNullable(this.attachedDatabaseConfigurationName);
    }

    /**
     * The name of the database which you would like to attach, use * if you want to follow all current and future databases.
     * 
     */
    @Import(name="databaseName", required=true)
    private Output databaseName;

    /**
     * @return The name of the database which you would like to attach, use * if you want to follow all current and future databases.
     * 
     */
    public Output databaseName() {
        return this.databaseName;
    }

    /**
     * The default principals modification kind
     * 
     */
    @Import(name="defaultPrincipalsModificationKind", required=true)
    private Output> defaultPrincipalsModificationKind;

    /**
     * @return The default principals modification kind
     * 
     */
    public Output> defaultPrincipalsModificationKind() {
        return this.defaultPrincipalsModificationKind;
    }

    /**
     * The name of the Kusto pool.
     * 
     */
    @Import(name="kustoPoolName", required=true)
    private Output kustoPoolName;

    /**
     * @return The name of the Kusto pool.
     * 
     */
    public Output kustoPoolName() {
        return this.kustoPoolName;
    }

    /**
     * The resource id of the kusto pool where the databases you would like to attach reside.
     * 
     */
    @Import(name="kustoPoolResourceId", required=true)
    private Output kustoPoolResourceId;

    /**
     * @return The resource id of the kusto pool where the databases you would like to attach reside.
     * 
     */
    public Output kustoPoolResourceId() {
        return this.kustoPoolResourceId;
    }

    /**
     * Resource location.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Resource location.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * 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;
    }

    /**
     * Table level sharing specifications
     * 
     */
    @Import(name="tableLevelSharingProperties")
    private @Nullable Output tableLevelSharingProperties;

    /**
     * @return Table level sharing specifications
     * 
     */
    public Optional> tableLevelSharingProperties() {
        return Optional.ofNullable(this.tableLevelSharingProperties);
    }

    /**
     * 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 KustoPoolAttachedDatabaseConfigurationArgs() {}

    private KustoPoolAttachedDatabaseConfigurationArgs(KustoPoolAttachedDatabaseConfigurationArgs $) {
        this.attachedDatabaseConfigurationName = $.attachedDatabaseConfigurationName;
        this.databaseName = $.databaseName;
        this.defaultPrincipalsModificationKind = $.defaultPrincipalsModificationKind;
        this.kustoPoolName = $.kustoPoolName;
        this.kustoPoolResourceId = $.kustoPoolResourceId;
        this.location = $.location;
        this.resourceGroupName = $.resourceGroupName;
        this.tableLevelSharingProperties = $.tableLevelSharingProperties;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private KustoPoolAttachedDatabaseConfigurationArgs $;

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

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

        /**
         * @param attachedDatabaseConfigurationName The name of the attached database configuration.
         * 
         * @return builder
         * 
         */
        public Builder attachedDatabaseConfigurationName(@Nullable Output attachedDatabaseConfigurationName) {
            $.attachedDatabaseConfigurationName = attachedDatabaseConfigurationName;
            return this;
        }

        /**
         * @param attachedDatabaseConfigurationName The name of the attached database configuration.
         * 
         * @return builder
         * 
         */
        public Builder attachedDatabaseConfigurationName(String attachedDatabaseConfigurationName) {
            return attachedDatabaseConfigurationName(Output.of(attachedDatabaseConfigurationName));
        }

        /**
         * @param databaseName The name of the database which you would like to attach, use * if you want to follow all current and future databases.
         * 
         * @return builder
         * 
         */
        public Builder databaseName(Output databaseName) {
            $.databaseName = databaseName;
            return this;
        }

        /**
         * @param databaseName The name of the database which you would like to attach, use * if you want to follow all current and future databases.
         * 
         * @return builder
         * 
         */
        public Builder databaseName(String databaseName) {
            return databaseName(Output.of(databaseName));
        }

        /**
         * @param defaultPrincipalsModificationKind The default principals modification kind
         * 
         * @return builder
         * 
         */
        public Builder defaultPrincipalsModificationKind(Output> defaultPrincipalsModificationKind) {
            $.defaultPrincipalsModificationKind = defaultPrincipalsModificationKind;
            return this;
        }

        /**
         * @param defaultPrincipalsModificationKind The default principals modification kind
         * 
         * @return builder
         * 
         */
        public Builder defaultPrincipalsModificationKind(Either defaultPrincipalsModificationKind) {
            return defaultPrincipalsModificationKind(Output.of(defaultPrincipalsModificationKind));
        }

        /**
         * @param defaultPrincipalsModificationKind The default principals modification kind
         * 
         * @return builder
         * 
         */
        public Builder defaultPrincipalsModificationKind(String defaultPrincipalsModificationKind) {
            return defaultPrincipalsModificationKind(Either.ofLeft(defaultPrincipalsModificationKind));
        }

        /**
         * @param defaultPrincipalsModificationKind The default principals modification kind
         * 
         * @return builder
         * 
         */
        public Builder defaultPrincipalsModificationKind(DefaultPrincipalsModificationKind defaultPrincipalsModificationKind) {
            return defaultPrincipalsModificationKind(Either.ofRight(defaultPrincipalsModificationKind));
        }

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

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

        /**
         * @param kustoPoolResourceId The resource id of the kusto pool where the databases you would like to attach reside.
         * 
         * @return builder
         * 
         */
        public Builder kustoPoolResourceId(Output kustoPoolResourceId) {
            $.kustoPoolResourceId = kustoPoolResourceId;
            return this;
        }

        /**
         * @param kustoPoolResourceId The resource id of the kusto pool where the databases you would like to attach reside.
         * 
         * @return builder
         * 
         */
        public Builder kustoPoolResourceId(String kustoPoolResourceId) {
            return kustoPoolResourceId(Output.of(kustoPoolResourceId));
        }

        /**
         * @param location Resource location.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Resource location.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @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 tableLevelSharingProperties Table level sharing specifications
         * 
         * @return builder
         * 
         */
        public Builder tableLevelSharingProperties(@Nullable Output tableLevelSharingProperties) {
            $.tableLevelSharingProperties = tableLevelSharingProperties;
            return this;
        }

        /**
         * @param tableLevelSharingProperties Table level sharing specifications
         * 
         * @return builder
         * 
         */
        public Builder tableLevelSharingProperties(TableLevelSharingPropertiesArgs tableLevelSharingProperties) {
            return tableLevelSharingProperties(Output.of(tableLevelSharingProperties));
        }

        /**
         * @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 KustoPoolAttachedDatabaseConfigurationArgs build() {
            if ($.databaseName == null) {
                throw new MissingRequiredPropertyException("KustoPoolAttachedDatabaseConfigurationArgs", "databaseName");
            }
            if ($.defaultPrincipalsModificationKind == null) {
                throw new MissingRequiredPropertyException("KustoPoolAttachedDatabaseConfigurationArgs", "defaultPrincipalsModificationKind");
            }
            if ($.kustoPoolName == null) {
                throw new MissingRequiredPropertyException("KustoPoolAttachedDatabaseConfigurationArgs", "kustoPoolName");
            }
            if ($.kustoPoolResourceId == null) {
                throw new MissingRequiredPropertyException("KustoPoolAttachedDatabaseConfigurationArgs", "kustoPoolResourceId");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("KustoPoolAttachedDatabaseConfigurationArgs", "resourceGroupName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("KustoPoolAttachedDatabaseConfigurationArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy