public Builder difficulty(final BigInteger difficulty) {
      this.difficulty = difficulty;
      return this;
    }
Sets the difficulty.

@param difficulty the difficulty to set
@return the builder instance
plugin-api/src/main/java/org/hyperledger/besu/plugin/data/BlockOverrides.java