All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.cache.inputs.ClusterPropertiesCustomerManagedKeyEncryptionArgs 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.inputs;

import com.pulumi.azurenative.cache.inputs.ClusterPropertiesKeyEncryptionKeyIdentityArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption.
 * 
 */
public final class ClusterPropertiesCustomerManagedKeyEncryptionArgs extends com.pulumi.resources.ResourceArgs {

    public static final ClusterPropertiesCustomerManagedKeyEncryptionArgs Empty = new ClusterPropertiesCustomerManagedKeyEncryptionArgs();

    /**
     * All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
     * 
     */
    @Import(name="keyEncryptionKeyIdentity")
    private @Nullable Output keyEncryptionKeyIdentity;

    /**
     * @return All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
     * 
     */
    public Optional> keyEncryptionKeyIdentity() {
        return Optional.ofNullable(this.keyEncryptionKeyIdentity);
    }

    /**
     * Key encryption key Url, versioned only. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78
     * 
     */
    @Import(name="keyEncryptionKeyUrl")
    private @Nullable Output keyEncryptionKeyUrl;

    /**
     * @return Key encryption key Url, versioned only. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78
     * 
     */
    public Optional> keyEncryptionKeyUrl() {
        return Optional.ofNullable(this.keyEncryptionKeyUrl);
    }

    private ClusterPropertiesCustomerManagedKeyEncryptionArgs() {}

    private ClusterPropertiesCustomerManagedKeyEncryptionArgs(ClusterPropertiesCustomerManagedKeyEncryptionArgs $) {
        this.keyEncryptionKeyIdentity = $.keyEncryptionKeyIdentity;
        this.keyEncryptionKeyUrl = $.keyEncryptionKeyUrl;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ClusterPropertiesCustomerManagedKeyEncryptionArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ClusterPropertiesCustomerManagedKeyEncryptionArgs $;

        public Builder() {
            $ = new ClusterPropertiesCustomerManagedKeyEncryptionArgs();
        }

        public Builder(ClusterPropertiesCustomerManagedKeyEncryptionArgs defaults) {
            $ = new ClusterPropertiesCustomerManagedKeyEncryptionArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param keyEncryptionKeyIdentity All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
         * 
         * @return builder
         * 
         */
        public Builder keyEncryptionKeyIdentity(@Nullable Output keyEncryptionKeyIdentity) {
            $.keyEncryptionKeyIdentity = keyEncryptionKeyIdentity;
            return this;
        }

        /**
         * @param keyEncryptionKeyIdentity All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
         * 
         * @return builder
         * 
         */
        public Builder keyEncryptionKeyIdentity(ClusterPropertiesKeyEncryptionKeyIdentityArgs keyEncryptionKeyIdentity) {
            return keyEncryptionKeyIdentity(Output.of(keyEncryptionKeyIdentity));
        }

        /**
         * @param keyEncryptionKeyUrl Key encryption key Url, versioned only. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78
         * 
         * @return builder
         * 
         */
        public Builder keyEncryptionKeyUrl(@Nullable Output keyEncryptionKeyUrl) {
            $.keyEncryptionKeyUrl = keyEncryptionKeyUrl;
            return this;
        }

        /**
         * @param keyEncryptionKeyUrl Key encryption key Url, versioned only. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78
         * 
         * @return builder
         * 
         */
        public Builder keyEncryptionKeyUrl(String keyEncryptionKeyUrl) {
            return keyEncryptionKeyUrl(Output.of(keyEncryptionKeyUrl));
        }

        public ClusterPropertiesCustomerManagedKeyEncryptionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy