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

com.pulumi.azure.datashare.DatasetKustoDatabaseArgs 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.azure.datashare;

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 DatasetKustoDatabaseArgs extends com.pulumi.resources.ResourceArgs {

    public static final DatasetKustoDatabaseArgs Empty = new DatasetKustoDatabaseArgs();

    /**
     * The resource ID of the Kusto Cluster Database to be shared with the receiver. Changing this forces a new Data Share Kusto Database Dataset to be created.
     * 
     */
    @Import(name="kustoDatabaseId", required=true)
    private Output kustoDatabaseId;

    /**
     * @return The resource ID of the Kusto Cluster Database to be shared with the receiver. Changing this forces a new Data Share Kusto Database Dataset to be created.
     * 
     */
    public Output kustoDatabaseId() {
        return this.kustoDatabaseId;
    }

    /**
     * The name which should be used for this Data Share Kusto Database Dataset. Changing this forces a new Data Share Kusto Database Dataset to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for this Data Share Kusto Database Dataset. Changing this forces a new Data Share Kusto Database Dataset to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created. Changing this forces a new Data Share Kusto Database Dataset to be created.
     * 
     */
    @Import(name="shareId", required=true)
    private Output shareId;

    /**
     * @return The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created. Changing this forces a new Data Share Kusto Database Dataset to be created.
     * 
     */
    public Output shareId() {
        return this.shareId;
    }

    private DatasetKustoDatabaseArgs() {}

    private DatasetKustoDatabaseArgs(DatasetKustoDatabaseArgs $) {
        this.kustoDatabaseId = $.kustoDatabaseId;
        this.name = $.name;
        this.shareId = $.shareId;
    }

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

    public static final class Builder {
        private DatasetKustoDatabaseArgs $;

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

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

        /**
         * @param kustoDatabaseId The resource ID of the Kusto Cluster Database to be shared with the receiver. Changing this forces a new Data Share Kusto Database Dataset to be created.
         * 
         * @return builder
         * 
         */
        public Builder kustoDatabaseId(Output kustoDatabaseId) {
            $.kustoDatabaseId = kustoDatabaseId;
            return this;
        }

        /**
         * @param kustoDatabaseId The resource ID of the Kusto Cluster Database to be shared with the receiver. Changing this forces a new Data Share Kusto Database Dataset to be created.
         * 
         * @return builder
         * 
         */
        public Builder kustoDatabaseId(String kustoDatabaseId) {
            return kustoDatabaseId(Output.of(kustoDatabaseId));
        }

        /**
         * @param name The name which should be used for this Data Share Kusto Database Dataset. Changing this forces a new Data Share Kusto Database Dataset to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Data Share Kusto Database Dataset. Changing this forces a new Data Share Kusto Database Dataset to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param shareId The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created. Changing this forces a new Data Share Kusto Database Dataset to be created.
         * 
         * @return builder
         * 
         */
        public Builder shareId(Output shareId) {
            $.shareId = shareId;
            return this;
        }

        /**
         * @param shareId The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created. Changing this forces a new Data Share Kusto Database Dataset to be created.
         * 
         * @return builder
         * 
         */
        public Builder shareId(String shareId) {
            return shareId(Output.of(shareId));
        }

        public DatasetKustoDatabaseArgs build() {
            if ($.kustoDatabaseId == null) {
                throw new MissingRequiredPropertyException("DatasetKustoDatabaseArgs", "kustoDatabaseId");
            }
            if ($.shareId == null) {
                throw new MissingRequiredPropertyException("DatasetKustoDatabaseArgs", "shareId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy