com.pulumi.azurenative.databricks.outputs.ManagedDiskEncryptionResponseKeyVaultProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.databricks.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ManagedDiskEncryptionResponseKeyVaultProperties {
/**
* @return The name of KeyVault key.
*
*/
private String keyName;
/**
* @return The URI of KeyVault.
*
*/
private String keyVaultUri;
/**
* @return The version of KeyVault key.
*
*/
private String keyVersion;
private ManagedDiskEncryptionResponseKeyVaultProperties() {}
/**
* @return The name of KeyVault key.
*
*/
public String keyName() {
return this.keyName;
}
/**
* @return The URI of KeyVault.
*
*/
public String keyVaultUri() {
return this.keyVaultUri;
}
/**
* @return The version of KeyVault key.
*
*/
public String keyVersion() {
return this.keyVersion;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ManagedDiskEncryptionResponseKeyVaultProperties defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String keyName;
private String keyVaultUri;
private String keyVersion;
public Builder() {}
public Builder(ManagedDiskEncryptionResponseKeyVaultProperties defaults) {
Objects.requireNonNull(defaults);
this.keyName = defaults.keyName;
this.keyVaultUri = defaults.keyVaultUri;
this.keyVersion = defaults.keyVersion;
}
@CustomType.Setter
public Builder keyName(String keyName) {
if (keyName == null) {
throw new MissingRequiredPropertyException("ManagedDiskEncryptionResponseKeyVaultProperties", "keyName");
}
this.keyName = keyName;
return this;
}
@CustomType.Setter
public Builder keyVaultUri(String keyVaultUri) {
if (keyVaultUri == null) {
throw new MissingRequiredPropertyException("ManagedDiskEncryptionResponseKeyVaultProperties", "keyVaultUri");
}
this.keyVaultUri = keyVaultUri;
return this;
}
@CustomType.Setter
public Builder keyVersion(String keyVersion) {
if (keyVersion == null) {
throw new MissingRequiredPropertyException("ManagedDiskEncryptionResponseKeyVaultProperties", "keyVersion");
}
this.keyVersion = keyVersion;
return this;
}
public ManagedDiskEncryptionResponseKeyVaultProperties build() {
final var _resultValue = new ManagedDiskEncryptionResponseKeyVaultProperties();
_resultValue.keyName = keyName;
_resultValue.keyVaultUri = keyVaultUri;
_resultValue.keyVersion = keyVersion;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy