com.pulumi.azure.billing.outputs.AccountCostManagementExportExportDataStorageLocation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
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.
// *** 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class AccountCostManagementExportExportDataStorageLocation {
/**
* @return The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created.
*
*/
private String containerId;
/**
* @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.
*
*/
private String rootFolderPath;
private AccountCostManagementExportExportDataStorageLocation() {}
/**
* @return The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created.
*
*/
public String containerId() {
return this.containerId;
}
/**
* @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 String rootFolderPath() {
return this.rootFolderPath;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AccountCostManagementExportExportDataStorageLocation defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String containerId;
private String rootFolderPath;
public Builder() {}
public Builder(AccountCostManagementExportExportDataStorageLocation defaults) {
Objects.requireNonNull(defaults);
this.containerId = defaults.containerId;
this.rootFolderPath = defaults.rootFolderPath;
}
@CustomType.Setter
public Builder containerId(String containerId) {
if (containerId == null) {
throw new MissingRequiredPropertyException("AccountCostManagementExportExportDataStorageLocation", "containerId");
}
this.containerId = containerId;
return this;
}
@CustomType.Setter
public Builder rootFolderPath(String rootFolderPath) {
if (rootFolderPath == null) {
throw new MissingRequiredPropertyException("AccountCostManagementExportExportDataStorageLocation", "rootFolderPath");
}
this.rootFolderPath = rootFolderPath;
return this;
}
public AccountCostManagementExportExportDataStorageLocation build() {
final var _resultValue = new AccountCostManagementExportExportDataStorageLocation();
_resultValue.containerId = containerId;
_resultValue.rootFolderPath = rootFolderPath;
return _resultValue;
}
}
}