Package com.mongodb.crypt.capi
Class MongoCryptOptions
- java.lang.Object
-
- com.mongodb.crypt.capi.MongoCryptOptions
-
public class MongoCryptOptions extends java.lang.ObjectThe options for configuring MongoCrypt.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMongoCryptOptions.BuilderThe builder for the options
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MongoCryptOptions.Builderbuilder()Construct a builder for the optionsMongoAwsKmsProviderOptionsgetAwsKmsProviderOptions()Gets the AWS KMS provider options.MongoLocalKmsProviderOptionsgetLocalKmsProviderOptions()Gets the local KMS provider options.java.util.Map<java.lang.String,org.bson.BsonDocument>getLocalSchemaMap()Gets the local schema map.
-
-
-
Method Detail
-
builder
public static MongoCryptOptions.Builder builder()
Construct a builder for the options- Returns:
- the builder
-
getAwsKmsProviderOptions
public MongoAwsKmsProviderOptions getAwsKmsProviderOptions()
Gets the AWS KMS provider options.- Returns:
- the AWS KMS provider options, which may be null
-
getLocalKmsProviderOptions
public MongoLocalKmsProviderOptions getLocalKmsProviderOptions()
Gets the local KMS provider options.- Returns:
- the local KMS provider options, which may be null
-
getLocalSchemaMap
public java.util.Map<java.lang.String,org.bson.BsonDocument> getLocalSchemaMap()
Gets the local schema map.- Returns:
- the local schema map
-
-