Package com.mongodb.crypt.capi
Class MongoExplicitEncryptOptions
- java.lang.Object
-
- com.mongodb.crypt.capi.MongoExplicitEncryptOptions
-
public class MongoExplicitEncryptOptions extends java.lang.ObjectOptions for explicit encryption.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMongoExplicitEncryptOptions.BuilderThe builder for the options
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MongoExplicitEncryptOptions.Builderbuilder()Create a builder for the options.java.lang.StringgetAlgorithm()Gets the encryption algorithmjava.lang.LonggetContentionFactor()Gets the contention factorjava.lang.StringgetKeyAltName()Gets the key alternative nameorg.bson.BsonBinarygetKeyId()Gets the key identifierjava.lang.StringgetQueryType()Gets the query typejava.lang.StringtoString()
-
-
-
Method Detail
-
builder
public static MongoExplicitEncryptOptions.Builder builder()
Create a builder for the options.- Returns:
- the builder
-
getKeyId
public org.bson.BsonBinary getKeyId()
Gets the key identifier- Returns:
- the key identifier
-
getKeyAltName
public java.lang.String getKeyAltName()
Gets the key alternative name- Returns:
- the key alternative name
-
getAlgorithm
public java.lang.String getAlgorithm()
Gets the encryption algorithm- Returns:
- the encryption algorithm
-
getContentionFactor
public java.lang.Long getContentionFactor()
Gets the contention factor- Returns:
- the contention factor
- Since:
- 1.5
-
getQueryType
public java.lang.String getQueryType()
Gets the query type- Returns:
- the query type
- Since:
- 1.5
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-