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

com.pulumi.azurenative.datashare.inputs.GetADLSGen2FolderDataSetMappingArgs 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.datashare.inputs;

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


public final class GetADLSGen2FolderDataSetMappingArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetADLSGen2FolderDataSetMappingArgs Empty = new GetADLSGen2FolderDataSetMappingArgs();

    /**
     * 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 dataSetMapping.
     * 
     */
    @Import(name="dataSetMappingName", required=true)
    private Output dataSetMappingName;

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

    /**
     * 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 shareSubscription.
     * 
     */
    @Import(name="shareSubscriptionName", required=true)
    private Output shareSubscriptionName;

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

    private GetADLSGen2FolderDataSetMappingArgs() {}

    private GetADLSGen2FolderDataSetMappingArgs(GetADLSGen2FolderDataSetMappingArgs $) {
        this.accountName = $.accountName;
        this.dataSetMappingName = $.dataSetMappingName;
        this.resourceGroupName = $.resourceGroupName;
        this.shareSubscriptionName = $.shareSubscriptionName;
    }

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

    public static final class Builder {
        private GetADLSGen2FolderDataSetMappingArgs $;

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

        public Builder(GetADLSGen2FolderDataSetMappingArgs defaults) {
            $ = new GetADLSGen2FolderDataSetMappingArgs(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 dataSetMappingName The name of the dataSetMapping.
         * 
         * @return builder
         * 
         */
        public Builder dataSetMappingName(Output dataSetMappingName) {
            $.dataSetMappingName = dataSetMappingName;
            return this;
        }

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

        /**
         * @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 shareSubscriptionName The name of the shareSubscription.
         * 
         * @return builder
         * 
         */
        public Builder shareSubscriptionName(Output shareSubscriptionName) {
            $.shareSubscriptionName = shareSubscriptionName;
            return this;
        }

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

        public GetADLSGen2FolderDataSetMappingArgs build() {
            if ($.accountName == null) {
                throw new MissingRequiredPropertyException("GetADLSGen2FolderDataSetMappingArgs", "accountName");
            }
            if ($.dataSetMappingName == null) {
                throw new MissingRequiredPropertyException("GetADLSGen2FolderDataSetMappingArgs", "dataSetMappingName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetADLSGen2FolderDataSetMappingArgs", "resourceGroupName");
            }
            if ($.shareSubscriptionName == null) {
                throw new MissingRequiredPropertyException("GetADLSGen2FolderDataSetMappingArgs", "shareSubscriptionName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy