Class CfnDataCatalogEncryptionSettingsPropsMixin.ConnectionPasswordEncryptionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnDataCatalogEncryptionSettingsPropsMixin.ConnectionPasswordEncryptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataCatalogEncryptionSettingsPropsMixin.ConnectionPasswordEncryptionProperty>
- Enclosing interface:
CfnDataCatalogEncryptionSettingsPropsMixin.ConnectionPasswordEncryptionProperty
@Stability(Stable)
public static final class CfnDataCatalogEncryptionSettingsPropsMixin.ConnectionPasswordEncryptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataCatalogEncryptionSettingsPropsMixin.ConnectionPasswordEncryptionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.returnConnectionPasswordEncrypted(Boolean returnConnectionPasswordEncrypted) returnConnectionPasswordEncrypted(IResolvable returnConnectionPasswordEncrypted)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyId
@Stability(Stable) public CfnDataCatalogEncryptionSettingsPropsMixin.ConnectionPasswordEncryptionProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnDataCatalogEncryptionSettingsPropsMixin.ConnectionPasswordEncryptionProperty.getKmsKeyId()- Parameters:
kmsKeyId- An AWS key that is used to encrypt the connection password. If connection password protection is enabled, the caller ofCreateConnectionandUpdateConnectionneeds at leastkms:Encryptpermission on the specified AWS key, to encrypt passwords before storing them in the Data Catalog. You can set the decrypt permission to enable or restrict access on the password key according to your security requirements.- Returns:
this
-
returnConnectionPasswordEncrypted
@Stability(Stable) public CfnDataCatalogEncryptionSettingsPropsMixin.ConnectionPasswordEncryptionProperty.Builder returnConnectionPasswordEncrypted(Boolean returnConnectionPasswordEncrypted) Sets the value ofCfnDataCatalogEncryptionSettingsPropsMixin.ConnectionPasswordEncryptionProperty.getReturnConnectionPasswordEncrypted()- Parameters:
returnConnectionPasswordEncrypted- When theReturnConnectionPasswordEncryptedflag is set to "true", passwords remain encrypted in the responses ofGetConnectionandGetConnections. This encryption takes effect independently from catalog encryption.- Returns:
this
-
returnConnectionPasswordEncrypted
@Stability(Stable) public CfnDataCatalogEncryptionSettingsPropsMixin.ConnectionPasswordEncryptionProperty.Builder returnConnectionPasswordEncrypted(IResolvable returnConnectionPasswordEncrypted) Sets the value ofCfnDataCatalogEncryptionSettingsPropsMixin.ConnectionPasswordEncryptionProperty.getReturnConnectionPasswordEncrypted()- Parameters:
returnConnectionPasswordEncrypted- When theReturnConnectionPasswordEncryptedflag is set to "true", passwords remain encrypted in the responses ofGetConnectionandGetConnections. This encryption takes effect independently from catalog encryption.- Returns:
this
-
build
@Stability(Stable) public CfnDataCatalogEncryptionSettingsPropsMixin.ConnectionPasswordEncryptionProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataCatalogEncryptionSettingsPropsMixin.ConnectionPasswordEncryptionProperty>- Returns:
- a new instance of
CfnDataCatalogEncryptionSettingsPropsMixin.ConnectionPasswordEncryptionProperty - Throws:
NullPointerException- if any required attribute was not provided
-