com.pulumi.azure.hdinsight.outputs.HBaseClusterStorageAccountGen2 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.hdinsight.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class HBaseClusterStorageAccountGen2 {
/**
* @return The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.
*
*/
private String filesystemId;
/**
* @return Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.
*
* > **NOTE:** One of the `storage_account` or `storage_account_gen2` blocks must be marked as the default.
*
*/
private Boolean isDefault;
/**
* @return The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.
*
* > **NOTE:** This can be obtained from the `id` of the `azure.storage.Container` resource.
*
*/
private String managedIdentityResourceId;
/**
* @return The ID of the Storage Account. Changing this forces a new resource to be created.
*
*/
private String storageResourceId;
private HBaseClusterStorageAccountGen2() {}
/**
* @return The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.
*
*/
public String filesystemId() {
return this.filesystemId;
}
/**
* @return Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.
*
* > **NOTE:** One of the `storage_account` or `storage_account_gen2` blocks must be marked as the default.
*
*/
public Boolean isDefault() {
return this.isDefault;
}
/**
* @return The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.
*
* > **NOTE:** This can be obtained from the `id` of the `azure.storage.Container` resource.
*
*/
public String managedIdentityResourceId() {
return this.managedIdentityResourceId;
}
/**
* @return The ID of the Storage Account. Changing this forces a new resource to be created.
*
*/
public String storageResourceId() {
return this.storageResourceId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HBaseClusterStorageAccountGen2 defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String filesystemId;
private Boolean isDefault;
private String managedIdentityResourceId;
private String storageResourceId;
public Builder() {}
public Builder(HBaseClusterStorageAccountGen2 defaults) {
Objects.requireNonNull(defaults);
this.filesystemId = defaults.filesystemId;
this.isDefault = defaults.isDefault;
this.managedIdentityResourceId = defaults.managedIdentityResourceId;
this.storageResourceId = defaults.storageResourceId;
}
@CustomType.Setter
public Builder filesystemId(String filesystemId) {
if (filesystemId == null) {
throw new MissingRequiredPropertyException("HBaseClusterStorageAccountGen2", "filesystemId");
}
this.filesystemId = filesystemId;
return this;
}
@CustomType.Setter
public Builder isDefault(Boolean isDefault) {
if (isDefault == null) {
throw new MissingRequiredPropertyException("HBaseClusterStorageAccountGen2", "isDefault");
}
this.isDefault = isDefault;
return this;
}
@CustomType.Setter
public Builder managedIdentityResourceId(String managedIdentityResourceId) {
if (managedIdentityResourceId == null) {
throw new MissingRequiredPropertyException("HBaseClusterStorageAccountGen2", "managedIdentityResourceId");
}
this.managedIdentityResourceId = managedIdentityResourceId;
return this;
}
@CustomType.Setter
public Builder storageResourceId(String storageResourceId) {
if (storageResourceId == null) {
throw new MissingRequiredPropertyException("HBaseClusterStorageAccountGen2", "storageResourceId");
}
this.storageResourceId = storageResourceId;
return this;
}
public HBaseClusterStorageAccountGen2 build() {
final var _resultValue = new HBaseClusterStorageAccountGen2();
_resultValue.filesystemId = filesystemId;
_resultValue.isDefault = isDefault;
_resultValue.managedIdentityResourceId = managedIdentityResourceId;
_resultValue.storageResourceId = storageResourceId;
return _resultValue;
}
}
}