public StubGenesisConfigOptions chainId(final BigInteger chainId) {
    this.chainId = Optional.ofNullable(chainId);
    return this;
  }
Chain id stub genesis config options.

@param chainId the chain id
@return the stub genesis config options
config/src/main/java/org/hyperledger/besu/config/StubGenesisConfigOptions.java