@Deprecated
    public UpdateOptions getOptions() {
        return new UpdateOptions()
                .bypassDocumentValidation(options.getBypassDocumentValidation())
                .collation(options.getCollation())
                .upsert(options.isUpsert());
    }
@Deprecated
    public UpdateOptions getOptions() {
        return new UpdateOptions()
                .bypassDocumentValidation(options.getBypassDocumentValidation())
                .collation(options.getCollation())
                .upsert(options.isUpsert());
    }
@ Deprecated public UpdateOptions getOptions ( ) { return new UpdateOptions ( ) . bypassDocumentValidation ( options . getBypassDocumentValidation ( ) ) . collation ( options . getCollation ( ) ) . upsert ( options . isUpsert ( ) ) ; }
Gets the options to apply.

@return the update options
@deprecated use {@link #getReplaceOptions()} instead
Gets the options to apply .