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

com.pulumi.azurenative.datashare.SynapseWorkspaceSqlPoolTableDataSetArgs Maven / Gradle / Ivy

The 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.datashare;

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


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

    public static final SynapseWorkspaceSqlPoolTableDataSetArgs Empty = new SynapseWorkspaceSqlPoolTableDataSetArgs();

    /**
     * The name of the share account.
     * 
     */
    @Import(name="accountName", required=true)
    private Output accountName;

    /**
     * @return The name of the share account.
     * 
     */
    public Output accountName() {
        return this.accountName;
    }

    /**
     * The name of the dataSet.
     * 
     */
    @Import(name="dataSetName")
    private @Nullable Output dataSetName;

    /**
     * @return The name of the dataSet.
     * 
     */
    public Optional> dataSetName() {
        return Optional.ofNullable(this.dataSetName);
    }

    /**
     * Kind of data set.
     * Expected value is 'SynapseWorkspaceSqlPoolTable'.
     * 
     */
    @Import(name="kind", required=true)
    private Output kind;

    /**
     * @return Kind of data set.
     * Expected value is 'SynapseWorkspaceSqlPoolTable'.
     * 
     */
    public Output kind() {
        return this.kind;
    }

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

    /**
     * @return The resource group name.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the share to add the data set to.
     * 
     */
    @Import(name="shareName", required=true)
    private Output shareName;

    /**
     * @return The name of the share to add the data set to.
     * 
     */
    public Output shareName() {
        return this.shareName;
    }

    /**
     * Resource id of the Synapse Workspace SQL Pool Table
     * 
     */
    @Import(name="synapseWorkspaceSqlPoolTableResourceId", required=true)
    private Output synapseWorkspaceSqlPoolTableResourceId;

    /**
     * @return Resource id of the Synapse Workspace SQL Pool Table
     * 
     */
    public Output synapseWorkspaceSqlPoolTableResourceId() {
        return this.synapseWorkspaceSqlPoolTableResourceId;
    }

    private SynapseWorkspaceSqlPoolTableDataSetArgs() {}

    private SynapseWorkspaceSqlPoolTableDataSetArgs(SynapseWorkspaceSqlPoolTableDataSetArgs $) {
        this.accountName = $.accountName;
        this.dataSetName = $.dataSetName;
        this.kind = $.kind;
        this.resourceGroupName = $.resourceGroupName;
        this.shareName = $.shareName;
        this.synapseWorkspaceSqlPoolTableResourceId = $.synapseWorkspaceSqlPoolTableResourceId;
    }

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

    public static final class Builder {
        private SynapseWorkspaceSqlPoolTableDataSetArgs $;

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

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

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

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

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

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

        /**
         * @param kind Kind of data set.
         * Expected value is 'SynapseWorkspaceSqlPoolTable'.
         * 
         * @return builder
         * 
         */
        public Builder kind(Output kind) {
            $.kind = kind;
            return this;
        }

        /**
         * @param kind Kind of data set.
         * Expected value is 'SynapseWorkspaceSqlPoolTable'.
         * 
         * @return builder
         * 
         */
        public Builder kind(String kind) {
            return kind(Output.of(kind));
        }

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

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

        /**
         * @param shareName The name of the share to add the data set to.
         * 
         * @return builder
         * 
         */
        public Builder shareName(Output shareName) {
            $.shareName = shareName;
            return this;
        }

        /**
         * @param shareName The name of the share to add the data set to.
         * 
         * @return builder
         * 
         */
        public Builder shareName(String shareName) {
            return shareName(Output.of(shareName));
        }

        /**
         * @param synapseWorkspaceSqlPoolTableResourceId Resource id of the Synapse Workspace SQL Pool Table
         * 
         * @return builder
         * 
         */
        public Builder synapseWorkspaceSqlPoolTableResourceId(Output synapseWorkspaceSqlPoolTableResourceId) {
            $.synapseWorkspaceSqlPoolTableResourceId = synapseWorkspaceSqlPoolTableResourceId;
            return this;
        }

        /**
         * @param synapseWorkspaceSqlPoolTableResourceId Resource id of the Synapse Workspace SQL Pool Table
         * 
         * @return builder
         * 
         */
        public Builder synapseWorkspaceSqlPoolTableResourceId(String synapseWorkspaceSqlPoolTableResourceId) {
            return synapseWorkspaceSqlPoolTableResourceId(Output.of(synapseWorkspaceSqlPoolTableResourceId));
        }

        public SynapseWorkspaceSqlPoolTableDataSetArgs build() {
            if ($.accountName == null) {
                throw new MissingRequiredPropertyException("SynapseWorkspaceSqlPoolTableDataSetArgs", "accountName");
            }
            $.kind = Codegen.stringProp("kind").output().arg($.kind).require();
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("SynapseWorkspaceSqlPoolTableDataSetArgs", "resourceGroupName");
            }
            if ($.shareName == null) {
                throw new MissingRequiredPropertyException("SynapseWorkspaceSqlPoolTableDataSetArgs", "shareName");
            }
            if ($.synapseWorkspaceSqlPoolTableResourceId == null) {
                throw new MissingRequiredPropertyException("SynapseWorkspaceSqlPoolTableDataSetArgs", "synapseWorkspaceSqlPoolTableResourceId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy