Package com.mongodb.client.model
Class RenameCollectionOptions
- java.lang.Object
 - 
- com.mongodb.client.model.RenameCollectionOptions
 
 
- 
@Deprecated(since="2021-05-27") public class RenameCollectionOptions extends java.lang.ObjectDeprecated.Usage of this API is not supported in AEM as a Cloud Service.The options to apply when renaming a collection.- Since:
 - 3.0
 
 
- 
- 
Constructor Summary
Constructors Constructor Description RenameCollectionOptions()Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RenameCollectionOptionsdropTarget(boolean dropTarget)Deprecated.Sets if mongod should drop the target of renameCollection prior to renaming the collection.booleanisDropTarget()Deprecated.Gets if mongod should drop the target of renameCollection prior to renaming the collection.java.lang.StringtoString()Deprecated. 
 - 
 
- 
- 
Method Detail
- 
isDropTarget
public boolean isDropTarget()
Deprecated.Gets if mongod should drop the target of renameCollection prior to renaming the collection.- Returns:
 - true if mongod should drop the target of renameCollection prior to renaming the collection.
 
 
- 
dropTarget
public RenameCollectionOptions dropTarget(boolean dropTarget)
Deprecated.Sets if mongod should drop the target of renameCollection prior to renaming the collection.- Parameters:
 dropTarget- true if mongod should drop the target of renameCollection prior to renaming the collection.- Returns:
 - this
 
 
- 
toString
public java.lang.String toString()
Deprecated.- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -