Class CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty>
- Enclosing interface:
CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty
@Stability(Stable)
public static final class CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.connectionPasswordEncryption
(IResolvable connectionPasswordEncryption) connectionPasswordEncryption
(CfnDataCatalogEncryptionSettings.ConnectionPasswordEncryptionProperty connectionPasswordEncryption) encryptionAtRest
(IResolvable encryptionAtRest) encryptionAtRest
(CfnDataCatalogEncryptionSettings.EncryptionAtRestProperty encryptionAtRest)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionPasswordEncryption
@Stability(Stable) public CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty.Builder connectionPasswordEncryption(IResolvable connectionPasswordEncryption) Sets the value ofCfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty.getConnectionPasswordEncryption()
- Parameters:
connectionPasswordEncryption
- When connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part ofCreateConnection
orUpdateConnection
and store it in theENCRYPTED_PASSWORD
field in the connection properties. You can enable catalog encryption or only password encryption.- Returns:
this
-
connectionPasswordEncryption
@Stability(Stable) public CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty.Builder connectionPasswordEncryption(CfnDataCatalogEncryptionSettings.ConnectionPasswordEncryptionProperty connectionPasswordEncryption) Sets the value ofCfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty.getConnectionPasswordEncryption()
- Parameters:
connectionPasswordEncryption
- When connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part ofCreateConnection
orUpdateConnection
and store it in theENCRYPTED_PASSWORD
field in the connection properties. You can enable catalog encryption or only password encryption.- Returns:
this
-
encryptionAtRest
@Stability(Stable) public CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty.Builder encryptionAtRest(IResolvable encryptionAtRest) Sets the value ofCfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty.getEncryptionAtRest()
- Parameters:
encryptionAtRest
- Specifies the encryption-at-rest configuration for the Data Catalog.- Returns:
this
-
encryptionAtRest
@Stability(Stable) public CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty.Builder encryptionAtRest(CfnDataCatalogEncryptionSettings.EncryptionAtRestProperty encryptionAtRest) Sets the value ofCfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty.getEncryptionAtRest()
- Parameters:
encryptionAtRest
- Specifies the encryption-at-rest configuration for the Data Catalog.- Returns:
this
-
build
@Stability(Stable) public CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty>
- Returns:
- a new instance of
CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-