MongoDBCollectionResource.withIndexes(List<MongoIndex> indexes) Method

Definition

Set the indexes property: List of index keys.

public MongoDBCollectionResource withIndexes(List<MongoIndex> indexes)

Parameters

indexes
java.util.List<MongoIndex>

the indexes value to set.

Returns

the MongoDBCollectionResource object itself.

Applies to