Interface DataCatalogEncryptionSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataCatalogEncryptionSettings.Builder,
,DataCatalogEncryptionSettings> SdkBuilder<DataCatalogEncryptionSettings.Builder,
,DataCatalogEncryptionSettings> SdkPojo
- Enclosing class:
DataCatalogEncryptionSettings
-
Method Summary
Modifier and TypeMethodDescriptionconnectionPasswordEncryption
(Consumer<ConnectionPasswordEncryption.Builder> 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.connectionPasswordEncryption
(ConnectionPasswordEncryption 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.encryptionAtRest
(Consumer<EncryptionAtRest.Builder> encryptionAtRest) Specifies the encryption-at-rest configuration for the Data Catalog.encryptionAtRest
(EncryptionAtRest encryptionAtRest) Specifies the encryption-at-rest configuration for the Data Catalog.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
encryptionAtRest
Specifies the encryption-at-rest configuration for the Data Catalog.
- Parameters:
encryptionAtRest
- Specifies the encryption-at-rest configuration for the Data Catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionAtRest
default DataCatalogEncryptionSettings.Builder encryptionAtRest(Consumer<EncryptionAtRest.Builder> encryptionAtRest) Specifies the encryption-at-rest configuration for the Data Catalog.
This is a convenience method that creates an instance of theEncryptionAtRest.Builder
avoiding the need to create one manually viaEncryptionAtRest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionAtRest(EncryptionAtRest)
.- Parameters:
encryptionAtRest
- a consumer that will call methods onEncryptionAtRest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionPasswordEncryption
DataCatalogEncryptionSettings.Builder connectionPasswordEncryption(ConnectionPasswordEncryption connectionPasswordEncryption) When connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part of
CreateConnection
orUpdateConnection
and store it in theENCRYPTED_PASSWORD
field in the connection properties. You can enable catalog encryption or only password encryption.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
connectionPasswordEncryption
default DataCatalogEncryptionSettings.Builder connectionPasswordEncryption(Consumer<ConnectionPasswordEncryption.Builder> connectionPasswordEncryption) When connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part of
This is a convenience method that creates an instance of theCreateConnection
orUpdateConnection
and store it in theENCRYPTED_PASSWORD
field in the connection properties. You can enable catalog encryption or only password encryption.ConnectionPasswordEncryption.Builder
avoiding the need to create one manually viaConnectionPasswordEncryption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionPasswordEncryption(ConnectionPasswordEncryption)
.- Parameters:
connectionPasswordEncryption
- a consumer that will call methods onConnectionPasswordEncryption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-