Package com.mongodb
Class ClientEncryptionSettings.Builder
java.lang.Object
com.mongodb.ClientEncryptionSettings.Builder
- Enclosing class:
ClientEncryptionSettings
@NotThreadSafe
@Deprecated(since="2021-05-27")
public static final class ClientEncryptionSettings.Builder
extends Object
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A builder for
ClientEncryptionSettings
so that ClientEncryptionSettings
can be immutable, and to support easier
construction through chaining.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.Build an instance ofClientEncryptionSettings
.keyVaultMongoClientSettings
(MongoClientSettings keyVaultMongoClientSettings) Deprecated.Sets the key vault settings.keyVaultNamespace
(String keyVaultNamespace) Deprecated.Sets the key vault namespaceDeprecated.Sets the KMS providers map.
-
Method Details
-
keyVaultMongoClientSettings
public ClientEncryptionSettings.Builder keyVaultMongoClientSettings(MongoClientSettings keyVaultMongoClientSettings) Deprecated.Sets the key vault settings.- Parameters:
keyVaultMongoClientSettings
- the key vault mongo client settings, which may be null.- Returns:
- this
- See Also:
-
keyVaultNamespace
Deprecated.Sets the key vault namespace- Parameters:
keyVaultNamespace
- the key vault namespace, which may not be null- Returns:
- this
- See Also:
-
kmsProviders
Deprecated.Sets the KMS providers map.- Parameters:
kmsProviders
- the KMS providers map, which may not be null- Returns:
- this
- See Also:
-
build
Deprecated.Build an instance ofClientEncryptionSettings
.- Returns:
- the settings from this builder
-