public BesuControllerBuilder maxPeers(final int maxPeers) {
    this.maxPeers = maxPeers;
    return this;
  }
Max peers besu controller builder.

@param maxPeers the max peers
@return the besu controller builder
app/src/main/java/org/hyperledger/besu/controller/BesuControllerBuilder.java