Package com.mongodb.crypt.capi
Class MongoLocalKmsProviderOptions.Builder
- java.lang.Object
-
- com.mongodb.crypt.capi.MongoLocalKmsProviderOptions.Builder
-
- Enclosing class:
- MongoLocalKmsProviderOptions
public static class MongoLocalKmsProviderOptions.Builder extends java.lang.ObjectThe builder for the options
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MongoLocalKmsProviderOptionsbuild()Build the options.MongoLocalKmsProviderOptions.BuilderlocalMasterKey(java.nio.ByteBuffer localMasterKey)Sets the local master key.
-
-
-
Method Detail
-
localMasterKey
public MongoLocalKmsProviderOptions.Builder localMasterKey(java.nio.ByteBuffer localMasterKey)
Sets the local master key.- Parameters:
localMasterKey- the local master key- Returns:
- this
-
build
public MongoLocalKmsProviderOptions build()
Build the options.- Returns:
- the options
-
-