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 ofCreateConnectionorUpdateConnectionand store it in theENCRYPTED_PASSWORDfield 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 ofCreateConnectionorUpdateConnectionand store it in theENCRYPTED_PASSWORDfield 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaEncryptionAtRest.builder().When the
Consumercompletes,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
CreateConnectionorUpdateConnectionand store it in theENCRYPTED_PASSWORDfield 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 ofCreateConnectionorUpdateConnectionand store it in theENCRYPTED_PASSWORDfield 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 theCreateConnectionorUpdateConnectionand store it in theENCRYPTED_PASSWORDfield in the connection properties. You can enable catalog encryption or only password encryption.ConnectionPasswordEncryption.Builderavoiding the need to create one manually viaConnectionPasswordEncryption.builder().When the
Consumercompletes,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:
-