code: public ScanParams match(final String pattern) {
      params.put(MATCH, ByteBuffer.wrap(SafeEncoder.encode(pattern)));
      return this;
    }
docs: @see <a href="https://redis.io/commands/scan#the-match-option">MATCH option in Redis documentation</a>
  
  @param pattern
  @return