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

com.pulumi.azurenative.datalakestore.outputs.EncryptionConfigResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.datalakestore.outputs;

import com.pulumi.azurenative.datalakestore.outputs.KeyVaultMetaInfoResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class EncryptionConfigResponse {
    /**
     * @return The Key Vault information for connecting to user managed encryption keys.
     * 
     */
    private @Nullable KeyVaultMetaInfoResponse keyVaultMetaInfo;
    /**
     * @return The type of encryption configuration being used. Currently the only supported types are 'UserManaged' and 'ServiceManaged'.
     * 
     */
    private String type;

    private EncryptionConfigResponse() {}
    /**
     * @return The Key Vault information for connecting to user managed encryption keys.
     * 
     */
    public Optional keyVaultMetaInfo() {
        return Optional.ofNullable(this.keyVaultMetaInfo);
    }
    /**
     * @return The type of encryption configuration being used. Currently the only supported types are 'UserManaged' and 'ServiceManaged'.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(EncryptionConfigResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable KeyVaultMetaInfoResponse keyVaultMetaInfo;
        private String type;
        public Builder() {}
        public Builder(EncryptionConfigResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.keyVaultMetaInfo = defaults.keyVaultMetaInfo;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder keyVaultMetaInfo(@Nullable KeyVaultMetaInfoResponse keyVaultMetaInfo) {

            this.keyVaultMetaInfo = keyVaultMetaInfo;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("EncryptionConfigResponse", "type");
            }
            this.type = type;
            return this;
        }
        public EncryptionConfigResponse build() {
            final var _resultValue = new EncryptionConfigResponse();
            _resultValue.keyVaultMetaInfo = keyVaultMetaInfo;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy