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

com.pulumi.azure.billing.inputs.AccountCostManagementExportExportDataStorageLocationArgs 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.billing.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 AccountCostManagementExportExportDataStorageLocationArgs extends com.pulumi.resources.ResourceArgs {

    public static final AccountCostManagementExportExportDataStorageLocationArgs Empty = new AccountCostManagementExportExportDataStorageLocationArgs();

    /**
     * The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="containerId", required=true)
    private Output containerId;

    /**
     * @return The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created.
     * 
     */
    public Output containerId() {
        return this.containerId;
    }

    /**
     * The path of the directory where exports will be uploaded. Changing this forces a new resource to be created.
     * 
     * > **Note:** The Resource Manager ID of a Storage Container is exposed via the `resource_manager_id` attribute of the `azure.storage.Container` resource.
     * 
     */
    @Import(name="rootFolderPath", required=true)
    private Output rootFolderPath;

    /**
     * @return The path of the directory where exports will be uploaded. Changing this forces a new resource to be created.
     * 
     * > **Note:** The Resource Manager ID of a Storage Container is exposed via the `resource_manager_id` attribute of the `azure.storage.Container` resource.
     * 
     */
    public Output rootFolderPath() {
        return this.rootFolderPath;
    }

    private AccountCostManagementExportExportDataStorageLocationArgs() {}

    private AccountCostManagementExportExportDataStorageLocationArgs(AccountCostManagementExportExportDataStorageLocationArgs $) {
        this.containerId = $.containerId;
        this.rootFolderPath = $.rootFolderPath;
    }

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

    public static final class Builder {
        private AccountCostManagementExportExportDataStorageLocationArgs $;

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

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

        /**
         * @param containerId The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder containerId(Output containerId) {
            $.containerId = containerId;
            return this;
        }

        /**
         * @param containerId The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder containerId(String containerId) {
            return containerId(Output.of(containerId));
        }

        /**
         * @param rootFolderPath The path of the directory where exports will be uploaded. Changing this forces a new resource to be created.
         * 
         * > **Note:** The Resource Manager ID of a Storage Container is exposed via the `resource_manager_id` attribute of the `azure.storage.Container` resource.
         * 
         * @return builder
         * 
         */
        public Builder rootFolderPath(Output rootFolderPath) {
            $.rootFolderPath = rootFolderPath;
            return this;
        }

        /**
         * @param rootFolderPath The path of the directory where exports will be uploaded. Changing this forces a new resource to be created.
         * 
         * > **Note:** The Resource Manager ID of a Storage Container is exposed via the `resource_manager_id` attribute of the `azure.storage.Container` resource.
         * 
         * @return builder
         * 
         */
        public Builder rootFolderPath(String rootFolderPath) {
            return rootFolderPath(Output.of(rootFolderPath));
        }

        public AccountCostManagementExportExportDataStorageLocationArgs build() {
            if ($.containerId == null) {
                throw new MissingRequiredPropertyException("AccountCostManagementExportExportDataStorageLocationArgs", "containerId");
            }
            if ($.rootFolderPath == null) {
                throw new MissingRequiredPropertyException("AccountCostManagementExportExportDataStorageLocationArgs", "rootFolderPath");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy