
com.pulumi.azurenative.databricks.outputs.EncryptionV2Response 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.azurenative.databricks.outputs.EncryptionV2ResponseKeyVaultProperties;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EncryptionV2Response {
/**
* @return The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault
*
*/
private String keySource;
/**
* @return Key Vault input properties for encryption.
*
*/
private @Nullable EncryptionV2ResponseKeyVaultProperties keyVaultProperties;
private EncryptionV2Response() {}
/**
* @return The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault
*
*/
public String keySource() {
return this.keySource;
}
/**
* @return Key Vault input properties for encryption.
*
*/
public Optional keyVaultProperties() {
return Optional.ofNullable(this.keyVaultProperties);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EncryptionV2Response defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String keySource;
private @Nullable EncryptionV2ResponseKeyVaultProperties keyVaultProperties;
public Builder() {}
public Builder(EncryptionV2Response defaults) {
Objects.requireNonNull(defaults);
this.keySource = defaults.keySource;
this.keyVaultProperties = defaults.keyVaultProperties;
}
@CustomType.Setter
public Builder keySource(String keySource) {
if (keySource == null) {
throw new MissingRequiredPropertyException("EncryptionV2Response", "keySource");
}
this.keySource = keySource;
return this;
}
@CustomType.Setter
public Builder keyVaultProperties(@Nullable EncryptionV2ResponseKeyVaultProperties keyVaultProperties) {
this.keyVaultProperties = keyVaultProperties;
return this;
}
public EncryptionV2Response build() {
final var _resultValue = new EncryptionV2Response();
_resultValue.keySource = keySource;
_resultValue.keyVaultProperties = keyVaultProperties;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy