Package com.mongodb.client.model
Class IndexOptionDefaults
- java.lang.Object
 - 
- com.mongodb.client.model.IndexOptionDefaults
 
 
- 
@Deprecated(since="2021-05-27") public final class IndexOptionDefaults extends java.lang.ObjectDeprecated.Usage of this API is not supported in AEM as a Cloud Service.The default options for a collection to apply on the creation of indexes.- Since:
 - 3.2
 
 
- 
- 
Constructor Summary
Constructors Constructor Description IndexOptionDefaults()Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BsongetStorageEngine()Deprecated.Gets the default storage engine options document for indexes.IndexOptionDefaultsstorageEngine(Bson storageEngine)Deprecated.Sets the default storage engine options document for indexes.java.lang.StringtoString()Deprecated. 
 - 
 
- 
- 
Method Detail
- 
getStorageEngine
@Nullable public Bson getStorageEngine()
Deprecated.Gets the default storage engine options document for indexes.- Returns:
 - the storage engine options
 
 
- 
storageEngine
public IndexOptionDefaults storageEngine(@Nullable Bson storageEngine)
Deprecated.Sets the default storage engine options document for indexes.- Parameters:
 storageEngine- the storage engine options- Returns:
 - this
 
 
- 
toString
public java.lang.String toString()
Deprecated.- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -