driver-legacy/src/main/com/mongodb/client/model/DBCollectionFindOptions.java
public DBCollectionFindOptions copy() {
        DBCollectionFindOptions copiedOptions = new DBCollectionFindOptions();
        copiedOptions.batchSize(batchSize);
        copiedOptions.limit(limit);
        copiedOptions.modifiers(modifiers);
        copiedOptions.projection(projection);
        copiedOptions.maxTime(maxTimeMS, TimeUnit.MILLISECONDS);
        copiedOptions.maxAwaitTime(maxAwaitTimeMS, TimeUnit.MILLISECONDS);
        copiedOptions.skip(skip);
        copiedOptions.sort(sort);
        copiedOptions.cursorType(cursorType);
        copiedOptions.noCursorTimeout(noCursorTimeout);
        copiedOptions.oplogReplay(oplogReplay);
        copiedOptions.partial(partial);
        copiedOptions.readPreference(readPreference);
        copiedOptions.readConcern(readConcern);
        copiedOptions.collation(collation);
        copiedOptions.comment(comment);
        copiedOptions.hint(hint);
        copiedOptions.max(max);
        copiedOptions.min(min);
        copiedOptions.returnKey(returnKey);
        copiedOptions.showRecordId(showRecordId);
        return copiedOptions;
    }
public DBCollectionFindOptions copy() {
        DBCollectionFindOptions copiedOptions = new DBCollectionFindOptions();
        copiedOptions.batchSize(batchSize);
        copiedOptions.limit(limit);
        copiedOptions.modifiers(modifiers);
        copiedOptions.projection(projection);
        copiedOptions.maxTime(maxTimeMS, TimeUnit.MILLISECONDS);
        copiedOptions.maxAwaitTime(maxAwaitTimeMS, TimeUnit.MILLISECONDS);
        copiedOptions.skip(skip);
        copiedOptions.sort(sort);
        copiedOptions.cursorType(cursorType);
        copiedOptions.noCursorTimeout(noCursorTimeout);
        copiedOptions.oplogReplay(oplogReplay);
        copiedOptions.partial(partial);
        copiedOptions.readPreference(readPreference);
        copiedOptions.readConcern(readConcern);
        copiedOptions.collation(collation);
        copiedOptions.comment(comment);
        copiedOptions.hint(hint);
        copiedOptions.max(max);
        copiedOptions.min(min);
        copiedOptions.returnKey(returnKey);
        copiedOptions.showRecordId(showRecordId);
        return copiedOptions;
    }
public DBCollectionFindOptions copy ( ) { DBCollectionFindOptions copiedOptions = new DBCollectionFindOptions ( ) ; copiedOptions . batchSize ( batchSize ) ; copiedOptions . limit ( limit ) ; copiedOptions . modifiers ( modifiers ) ; copiedOptions . projection ( projection ) ; copiedOptions . maxTime ( maxTimeMS , TimeUnit . MILLISECONDS ) ; copiedOptions . maxAwaitTime ( maxAwaitTimeMS , TimeUnit . MILLISECONDS ) ; copiedOptions . skip ( skip ) ; copiedOptions . sort ( sort ) ; copiedOptions . cursorType ( cursorType ) ; copiedOptions . noCursorTimeout ( noCursorTimeout ) ; copiedOptions . oplogReplay ( oplogReplay ) ; copiedOptions . partial ( partial ) ; copiedOptions . readPreference ( readPreference ) ; copiedOptions . readConcern ( readConcern ) ; copiedOptions . collation ( collation ) ; copiedOptions . comment ( comment ) ; copiedOptions . hint ( hint ) ; copiedOptions . max ( max ) ; copiedOptions . min ( min ) ; copiedOptions . returnKey ( returnKey ) ; copiedOptions . showRecordId ( showRecordId ) ; return copiedOptions ; }
Copy this DBCollectionFindOptions instance into a new instance.

@return the new DBCollectionFindOptions with the same settings as this instance.
Copy this DBCollectionFindOptions instance into a new instance .