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

com.pulumi.azurenative.databricks.outputs.EncryptionResponse Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class EncryptionResponse {
    /**
     * @return The name of KeyVault key.
     * 
     */
    private @Nullable String keyName;
    /**
     * @return The encryption keySource (provider). Possible values (case-insensitive):  Default, Microsoft.Keyvault
     * 
     */
    private @Nullable String keySource;
    /**
     * @return The Uri of KeyVault.
     * 
     */
    private @Nullable String keyVaultUri;
    /**
     * @return The version of KeyVault key.
     * 
     */
    private @Nullable String keyVersion;

    private EncryptionResponse() {}
    /**
     * @return The name of KeyVault key.
     * 
     */
    public Optional keyName() {
        return Optional.ofNullable(this.keyName);
    }
    /**
     * @return The encryption keySource (provider). Possible values (case-insensitive):  Default, Microsoft.Keyvault
     * 
     */
    public Optional keySource() {
        return Optional.ofNullable(this.keySource);
    }
    /**
     * @return The Uri of KeyVault.
     * 
     */
    public Optional keyVaultUri() {
        return Optional.ofNullable(this.keyVaultUri);
    }
    /**
     * @return The version of KeyVault key.
     * 
     */
    public Optional keyVersion() {
        return Optional.ofNullable(this.keyVersion);
    }

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

    public static Builder builder(EncryptionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String keyName;
        private @Nullable String keySource;
        private @Nullable String keyVaultUri;
        private @Nullable String keyVersion;
        public Builder() {}
        public Builder(EncryptionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.keyName = defaults.keyName;
    	      this.keySource = defaults.keySource;
    	      this.keyVaultUri = defaults.keyVaultUri;
    	      this.keyVersion = defaults.keyVersion;
        }

        @CustomType.Setter
        public Builder keyName(@Nullable String keyName) {

            this.keyName = keyName;
            return this;
        }
        @CustomType.Setter
        public Builder keySource(@Nullable String keySource) {

            this.keySource = keySource;
            return this;
        }
        @CustomType.Setter
        public Builder keyVaultUri(@Nullable String keyVaultUri) {

            this.keyVaultUri = keyVaultUri;
            return this;
        }
        @CustomType.Setter
        public Builder keyVersion(@Nullable String keyVersion) {

            this.keyVersion = keyVersion;
            return this;
        }
        public EncryptionResponse build() {
            final var _resultValue = new EncryptionResponse();
            _resultValue.keyName = keyName;
            _resultValue.keySource = keySource;
            _resultValue.keyVaultUri = keyVaultUri;
            _resultValue.keyVersion = keyVersion;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy