
com.pulumi.azurenative.cache.outputs.ClusterPropertiesResponseEncryption 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.cache.outputs;
import com.pulumi.azurenative.cache.outputs.ClusterPropertiesResponseCustomerManagedKeyEncryption;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ClusterPropertiesResponseEncryption {
/**
* @return All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption.
*
*/
private @Nullable ClusterPropertiesResponseCustomerManagedKeyEncryption customerManagedKeyEncryption;
private ClusterPropertiesResponseEncryption() {}
/**
* @return All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption.
*
*/
public Optional customerManagedKeyEncryption() {
return Optional.ofNullable(this.customerManagedKeyEncryption);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterPropertiesResponseEncryption defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ClusterPropertiesResponseCustomerManagedKeyEncryption customerManagedKeyEncryption;
public Builder() {}
public Builder(ClusterPropertiesResponseEncryption defaults) {
Objects.requireNonNull(defaults);
this.customerManagedKeyEncryption = defaults.customerManagedKeyEncryption;
}
@CustomType.Setter
public Builder customerManagedKeyEncryption(@Nullable ClusterPropertiesResponseCustomerManagedKeyEncryption customerManagedKeyEncryption) {
this.customerManagedKeyEncryption = customerManagedKeyEncryption;
return this;
}
public ClusterPropertiesResponseEncryption build() {
final var _resultValue = new ClusterPropertiesResponseEncryption();
_resultValue.customerManagedKeyEncryption = customerManagedKeyEncryption;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy