
com.pulumi.azurenative.recoveryservices.outputs.VaultPropertiesResponseEncryption Maven / Gradle / Ivy
// *** 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.recoveryservices.outputs;
import com.pulumi.azurenative.recoveryservices.outputs.CmkKekIdentityResponse;
import com.pulumi.azurenative.recoveryservices.outputs.CmkKeyVaultPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class VaultPropertiesResponseEncryption {
/**
* @return Enabling/Disabling the Double Encryption state
*
*/
private @Nullable String infrastructureEncryption;
/**
* @return The details of the identity used for CMK
*
*/
private @Nullable CmkKekIdentityResponse kekIdentity;
/**
* @return The properties of the Key Vault which hosts CMK
*
*/
private @Nullable CmkKeyVaultPropertiesResponse keyVaultProperties;
private VaultPropertiesResponseEncryption() {}
/**
* @return Enabling/Disabling the Double Encryption state
*
*/
public Optional infrastructureEncryption() {
return Optional.ofNullable(this.infrastructureEncryption);
}
/**
* @return The details of the identity used for CMK
*
*/
public Optional kekIdentity() {
return Optional.ofNullable(this.kekIdentity);
}
/**
* @return The properties of the Key Vault which hosts CMK
*
*/
public Optional keyVaultProperties() {
return Optional.ofNullable(this.keyVaultProperties);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VaultPropertiesResponseEncryption defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String infrastructureEncryption;
private @Nullable CmkKekIdentityResponse kekIdentity;
private @Nullable CmkKeyVaultPropertiesResponse keyVaultProperties;
public Builder() {}
public Builder(VaultPropertiesResponseEncryption defaults) {
Objects.requireNonNull(defaults);
this.infrastructureEncryption = defaults.infrastructureEncryption;
this.kekIdentity = defaults.kekIdentity;
this.keyVaultProperties = defaults.keyVaultProperties;
}
@CustomType.Setter
public Builder infrastructureEncryption(@Nullable String infrastructureEncryption) {
this.infrastructureEncryption = infrastructureEncryption;
return this;
}
@CustomType.Setter
public Builder kekIdentity(@Nullable CmkKekIdentityResponse kekIdentity) {
this.kekIdentity = kekIdentity;
return this;
}
@CustomType.Setter
public Builder keyVaultProperties(@Nullable CmkKeyVaultPropertiesResponse keyVaultProperties) {
this.keyVaultProperties = keyVaultProperties;
return this;
}
public VaultPropertiesResponseEncryption build() {
final var _resultValue = new VaultPropertiesResponseEncryption();
_resultValue.infrastructureEncryption = infrastructureEncryption;
_resultValue.kekIdentity = kekIdentity;
_resultValue.keyVaultProperties = keyVaultProperties;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy