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

com.pulumi.aws.glue.inputs.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs 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.aws.glue.inputs;

import com.pulumi.aws.glue.inputs.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryptionArgs;
import com.pulumi.aws.glue.inputs.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRestArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;


public final class DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs Empty = new DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs();

    /**
     * When connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part of CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD field in the connection properties. You can enable catalog encryption or only password encryption. see Connection Password Encryption.
     * 
     */
    @Import(name="connectionPasswordEncryption", required=true)
    private Output connectionPasswordEncryption;

    /**
     * @return When connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part of CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD field in the connection properties. You can enable catalog encryption or only password encryption. see Connection Password Encryption.
     * 
     */
    public Output connectionPasswordEncryption() {
        return this.connectionPasswordEncryption;
    }

    /**
     * Specifies the encryption-at-rest configuration for the Data Catalog. see Encryption At Rest.
     * 
     */
    @Import(name="encryptionAtRest", required=true)
    private Output encryptionAtRest;

    /**
     * @return Specifies the encryption-at-rest configuration for the Data Catalog. see Encryption At Rest.
     * 
     */
    public Output encryptionAtRest() {
        return this.encryptionAtRest;
    }

    private DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs() {}

    private DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs(DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs $) {
        this.connectionPasswordEncryption = $.connectionPasswordEncryption;
        this.encryptionAtRest = $.encryptionAtRest;
    }

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

    public static final class Builder {
        private DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs $;

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

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

        /**
         * @param connectionPasswordEncryption When connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part of CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD field in the connection properties. You can enable catalog encryption or only password encryption. see Connection Password Encryption.
         * 
         * @return builder
         * 
         */
        public Builder connectionPasswordEncryption(Output connectionPasswordEncryption) {
            $.connectionPasswordEncryption = connectionPasswordEncryption;
            return this;
        }

        /**
         * @param connectionPasswordEncryption When connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part of CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD field in the connection properties. You can enable catalog encryption or only password encryption. see Connection Password Encryption.
         * 
         * @return builder
         * 
         */
        public Builder connectionPasswordEncryption(DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryptionArgs connectionPasswordEncryption) {
            return connectionPasswordEncryption(Output.of(connectionPasswordEncryption));
        }

        /**
         * @param encryptionAtRest Specifies the encryption-at-rest configuration for the Data Catalog. see Encryption At Rest.
         * 
         * @return builder
         * 
         */
        public Builder encryptionAtRest(Output encryptionAtRest) {
            $.encryptionAtRest = encryptionAtRest;
            return this;
        }

        /**
         * @param encryptionAtRest Specifies the encryption-at-rest configuration for the Data Catalog. see Encryption At Rest.
         * 
         * @return builder
         * 
         */
        public Builder encryptionAtRest(DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRestArgs encryptionAtRest) {
            return encryptionAtRest(Output.of(encryptionAtRest));
        }

        public DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs build() {
            if ($.connectionPasswordEncryption == null) {
                throw new MissingRequiredPropertyException("DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs", "connectionPasswordEncryption");
            }
            if ($.encryptionAtRest == null) {
                throw new MissingRequiredPropertyException("DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs", "encryptionAtRest");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy