com.pulumi.azure.hdinsight.outputs.HadoopClusterDiskEncryption 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 java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class HadoopClusterDiskEncryption {
/**
* @return This is an algorithm identifier for encryption. Possible values are `RSA1_5`, `RSA-OAEP`, `RSA-OAEP-256`.
*
*/
private @Nullable String encryptionAlgorithm;
/**
* @return This is indicator to show whether resource disk encryption is enabled.
*
*/
private @Nullable Boolean encryptionAtHostEnabled;
/**
* @return The ID of the key vault key.
*
*/
private @Nullable String keyVaultKeyId;
/**
* @return This is the resource ID of Managed Identity used to access the key vault.
*
*/
private @Nullable String keyVaultManagedIdentityId;
private HadoopClusterDiskEncryption() {}
/**
* @return This is an algorithm identifier for encryption. Possible values are `RSA1_5`, `RSA-OAEP`, `RSA-OAEP-256`.
*
*/
public Optional encryptionAlgorithm() {
return Optional.ofNullable(this.encryptionAlgorithm);
}
/**
* @return This is indicator to show whether resource disk encryption is enabled.
*
*/
public Optional encryptionAtHostEnabled() {
return Optional.ofNullable(this.encryptionAtHostEnabled);
}
/**
* @return The ID of the key vault key.
*
*/
public Optional keyVaultKeyId() {
return Optional.ofNullable(this.keyVaultKeyId);
}
/**
* @return This is the resource ID of Managed Identity used to access the key vault.
*
*/
public Optional keyVaultManagedIdentityId() {
return Optional.ofNullable(this.keyVaultManagedIdentityId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HadoopClusterDiskEncryption defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String encryptionAlgorithm;
private @Nullable Boolean encryptionAtHostEnabled;
private @Nullable String keyVaultKeyId;
private @Nullable String keyVaultManagedIdentityId;
public Builder() {}
public Builder(HadoopClusterDiskEncryption defaults) {
Objects.requireNonNull(defaults);
this.encryptionAlgorithm = defaults.encryptionAlgorithm;
this.encryptionAtHostEnabled = defaults.encryptionAtHostEnabled;
this.keyVaultKeyId = defaults.keyVaultKeyId;
this.keyVaultManagedIdentityId = defaults.keyVaultManagedIdentityId;
}
@CustomType.Setter
public Builder encryptionAlgorithm(@Nullable String encryptionAlgorithm) {
this.encryptionAlgorithm = encryptionAlgorithm;
return this;
}
@CustomType.Setter
public Builder encryptionAtHostEnabled(@Nullable Boolean encryptionAtHostEnabled) {
this.encryptionAtHostEnabled = encryptionAtHostEnabled;
return this;
}
@CustomType.Setter
public Builder keyVaultKeyId(@Nullable String keyVaultKeyId) {
this.keyVaultKeyId = keyVaultKeyId;
return this;
}
@CustomType.Setter
public Builder keyVaultManagedIdentityId(@Nullable String keyVaultManagedIdentityId) {
this.keyVaultManagedIdentityId = keyVaultManagedIdentityId;
return this;
}
public HadoopClusterDiskEncryption build() {
final var _resultValue = new HadoopClusterDiskEncryption();
_resultValue.encryptionAlgorithm = encryptionAlgorithm;
_resultValue.encryptionAtHostEnabled = encryptionAtHostEnabled;
_resultValue.keyVaultKeyId = keyVaultKeyId;
_resultValue.keyVaultManagedIdentityId = keyVaultManagedIdentityId;
return _resultValue;
}
}
}