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

com.pulumi.azure.datashare.DatasetDataLakeGen2Args Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.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 DatasetDataLakeGen2Args extends com.pulumi.resources.ResourceArgs {

    public static final DatasetDataLakeGen2Args Empty = new DatasetDataLakeGen2Args();

    /**
     * The path of the file in the data lake file system to be shared with the receiver. Conflicts with `folder_path` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
     * 
     */
    @Import(name="filePath")
    private @Nullable Output filePath;

    /**
     * @return The path of the file in the data lake file system to be shared with the receiver. Conflicts with `folder_path` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
     * 
     */
    public Optional> filePath() {
        return Optional.ofNullable(this.filePath);
    }

    /**
     * The name of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
     * 
     */
    @Import(name="fileSystemName", required=true)
    private Output fileSystemName;

    /**
     * @return The name of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
     * 
     */
    public Output fileSystemName() {
        return this.fileSystemName;
    }

    /**
     * The folder path in the data lake file system to be shared with the receiver. Conflicts with `file_path` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
     * 
     */
    @Import(name="folderPath")
    private @Nullable Output folderPath;

    /**
     * @return The folder path in the data lake file system to be shared with the receiver. Conflicts with `file_path` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
     * 
     */
    public Optional> folderPath() {
        return Optional.ofNullable(this.folderPath);
    }

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

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

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

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

    /**
     * The resource id of the storage account of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
     * 
     */
    @Import(name="storageAccountId", required=true)
    private Output storageAccountId;

    /**
     * @return The resource id of the storage account of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
     * 
     */
    public Output storageAccountId() {
        return this.storageAccountId;
    }

    private DatasetDataLakeGen2Args() {}

    private DatasetDataLakeGen2Args(DatasetDataLakeGen2Args $) {
        this.filePath = $.filePath;
        this.fileSystemName = $.fileSystemName;
        this.folderPath = $.folderPath;
        this.name = $.name;
        this.shareId = $.shareId;
        this.storageAccountId = $.storageAccountId;
    }

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

    public static final class Builder {
        private DatasetDataLakeGen2Args $;

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

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

        /**
         * @param filePath The path of the file in the data lake file system to be shared with the receiver. Conflicts with `folder_path` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
         * 
         * @return builder
         * 
         */
        public Builder filePath(@Nullable Output filePath) {
            $.filePath = filePath;
            return this;
        }

        /**
         * @param filePath The path of the file in the data lake file system to be shared with the receiver. Conflicts with `folder_path` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
         * 
         * @return builder
         * 
         */
        public Builder filePath(String filePath) {
            return filePath(Output.of(filePath));
        }

        /**
         * @param fileSystemName The name of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
         * 
         * @return builder
         * 
         */
        public Builder fileSystemName(Output fileSystemName) {
            $.fileSystemName = fileSystemName;
            return this;
        }

        /**
         * @param fileSystemName The name of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
         * 
         * @return builder
         * 
         */
        public Builder fileSystemName(String fileSystemName) {
            return fileSystemName(Output.of(fileSystemName));
        }

        /**
         * @param folderPath The folder path in the data lake file system to be shared with the receiver. Conflicts with `file_path` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
         * 
         * @return builder
         * 
         */
        public Builder folderPath(@Nullable Output folderPath) {
            $.folderPath = folderPath;
            return this;
        }

        /**
         * @param folderPath The folder path in the data lake file system to be shared with the receiver. Conflicts with `file_path` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
         * 
         * @return builder
         * 
         */
        public Builder folderPath(String folderPath) {
            return folderPath(Output.of(folderPath));
        }

        /**
         * @param name The name which should be used for this Data Share Data Lake Gen2 Dataset. Changing this forces a new Data Share Data Lake Gen2 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 Data Lake Gen2 Dataset. Changing this forces a new Data Share Data Lake Gen2 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 Data Lake Gen2 Dataset should be created. Changing this forces a new Data Share Data Lake Gen2 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 Data Lake Gen2 Dataset should be created. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
         * 
         * @return builder
         * 
         */
        public Builder shareId(String shareId) {
            return shareId(Output.of(shareId));
        }

        /**
         * @param storageAccountId The resource id of the storage account of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountId(Output storageAccountId) {
            $.storageAccountId = storageAccountId;
            return this;
        }

        /**
         * @param storageAccountId The resource id of the storage account of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountId(String storageAccountId) {
            return storageAccountId(Output.of(storageAccountId));
        }

        public DatasetDataLakeGen2Args build() {
            if ($.fileSystemName == null) {
                throw new MissingRequiredPropertyException("DatasetDataLakeGen2Args", "fileSystemName");
            }
            if ($.shareId == null) {
                throw new MissingRequiredPropertyException("DatasetDataLakeGen2Args", "shareId");
            }
            if ($.storageAccountId == null) {
                throw new MissingRequiredPropertyException("DatasetDataLakeGen2Args", "storageAccountId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy