com.pulumi.azure.managedlustre.outputs.FileSystemEncryptionKey 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.managedlustre.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class FileSystemEncryptionKey {
/**
* @return The URL to the Key Vault Key used as the Encryption Key. This can be found as `id` on the `azure.keyvault.Key` resource.
*
*/
private String keyUrl;
/**
* @return The ID of the source Key Vault. This can be found as `id` on the `azure.keyvault.KeyVault` resource.
*
*/
private String sourceVaultId;
private FileSystemEncryptionKey() {}
/**
* @return The URL to the Key Vault Key used as the Encryption Key. This can be found as `id` on the `azure.keyvault.Key` resource.
*
*/
public String keyUrl() {
return this.keyUrl;
}
/**
* @return The ID of the source Key Vault. This can be found as `id` on the `azure.keyvault.KeyVault` resource.
*
*/
public String sourceVaultId() {
return this.sourceVaultId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FileSystemEncryptionKey defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String keyUrl;
private String sourceVaultId;
public Builder() {}
public Builder(FileSystemEncryptionKey defaults) {
Objects.requireNonNull(defaults);
this.keyUrl = defaults.keyUrl;
this.sourceVaultId = defaults.sourceVaultId;
}
@CustomType.Setter
public Builder keyUrl(String keyUrl) {
if (keyUrl == null) {
throw new MissingRequiredPropertyException("FileSystemEncryptionKey", "keyUrl");
}
this.keyUrl = keyUrl;
return this;
}
@CustomType.Setter
public Builder sourceVaultId(String sourceVaultId) {
if (sourceVaultId == null) {
throw new MissingRequiredPropertyException("FileSystemEncryptionKey", "sourceVaultId");
}
this.sourceVaultId = sourceVaultId;
return this;
}
public FileSystemEncryptionKey build() {
final var _resultValue = new FileSystemEncryptionKey();
_resultValue.keyUrl = keyUrl;
_resultValue.sourceVaultId = sourceVaultId;
return _resultValue;
}
}
}