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

com.pulumi.aws.glue.outputs.GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingConnectionPasswordEncryption 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.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingConnectionPasswordEncryption {
    /**
     * @return KMS key ARN that is used to encrypt the connection password.
     * 
     */
    private String awsKmsKeyId;
    /**
     * @return When set to `true`, passwords remain encrypted in the responses of GetConnection and GetConnections. This encryption takes effect independently of the catalog encryption.
     * 
     */
    private Boolean returnConnectionPasswordEncrypted;

    private GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingConnectionPasswordEncryption() {}
    /**
     * @return KMS key ARN that is used to encrypt the connection password.
     * 
     */
    public String awsKmsKeyId() {
        return this.awsKmsKeyId;
    }
    /**
     * @return When set to `true`, passwords remain encrypted in the responses of GetConnection and GetConnections. This encryption takes effect independently of the catalog encryption.
     * 
     */
    public Boolean returnConnectionPasswordEncrypted() {
        return this.returnConnectionPasswordEncrypted;
    }

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

    public static Builder builder(GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingConnectionPasswordEncryption defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String awsKmsKeyId;
        private Boolean returnConnectionPasswordEncrypted;
        public Builder() {}
        public Builder(GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingConnectionPasswordEncryption defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.awsKmsKeyId = defaults.awsKmsKeyId;
    	      this.returnConnectionPasswordEncrypted = defaults.returnConnectionPasswordEncrypted;
        }

        @CustomType.Setter
        public Builder awsKmsKeyId(String awsKmsKeyId) {
            if (awsKmsKeyId == null) {
              throw new MissingRequiredPropertyException("GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingConnectionPasswordEncryption", "awsKmsKeyId");
            }
            this.awsKmsKeyId = awsKmsKeyId;
            return this;
        }
        @CustomType.Setter
        public Builder returnConnectionPasswordEncrypted(Boolean returnConnectionPasswordEncrypted) {
            if (returnConnectionPasswordEncrypted == null) {
              throw new MissingRequiredPropertyException("GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingConnectionPasswordEncryption", "returnConnectionPasswordEncrypted");
            }
            this.returnConnectionPasswordEncrypted = returnConnectionPasswordEncrypted;
            return this;
        }
        public GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingConnectionPasswordEncryption build() {
            final var _resultValue = new GetDataCatalogEncryptionSettingsDataCatalogEncryptionSettingConnectionPasswordEncryption();
            _resultValue.awsKmsKeyId = awsKmsKeyId;
            _resultValue.returnConnectionPasswordEncrypted = returnConnectionPasswordEncrypted;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy