// *** 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.azure.appconfiguration.outputs;

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 ConfigurationStoreEncryption {
    /**
     * @return Specifies the client id of the identity which will be used to access key vault.
     * 
     */
    private @Nullable String identityClientId;
    /**
     * @return Specifies the URI of the key vault key used to encrypt data.
     * 
     */
    private @Nullable String keyVaultKeyIdentifier;

    private ConfigurationStoreEncryption() {}
    /**
     * @return Specifies the client id of the identity which will be used to access key vault.
     * 
     */
    public Optional<String> identityClientId() {
        return Optional.ofNullable(this.identityClientId);
    }
    /**
     * @return Specifies the URI of the key vault key used to encrypt data.
     * 
     */
    public Optional<String> keyVaultKeyIdentifier() {
        return Optional.ofNullable(this.keyVaultKeyIdentifier);
    }

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

    public static Builder builder(ConfigurationStoreEncryption defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String identityClientId;
        private @Nullable String keyVaultKeyIdentifier;
        public Builder() {}
        public Builder(ConfigurationStoreEncryption defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.identityClientId = defaults.identityClientId;
    	      this.keyVaultKeyIdentifier = defaults.keyVaultKeyIdentifier;
        }

        @CustomType.Setter
        public Builder identityClientId(@Nullable String identityClientId) {
            this.identityClientId = identityClientId;
            return this;
        }
        @CustomType.Setter
        public Builder keyVaultKeyIdentifier(@Nullable String keyVaultKeyIdentifier) {
            this.keyVaultKeyIdentifier = keyVaultKeyIdentifier;
            return this;
        }
        public ConfigurationStoreEncryption build() {
            final var o = new ConfigurationStoreEncryption();
            o.identityClientId = identityClientId;
            o.keyVaultKeyIdentifier = keyVaultKeyIdentifier;
            return o;
        }
    }
}
