public CalculateRouteMatrixSummary withRouteCount(Integer routeCount) {
        setRouteCount(routeCount);
        return this;
    }
<p>
The count of cells in the route matrix. Equal to the number of <code>DeparturePositions</code> multiplied by the
number of <code>DestinationPositions</code>.
</p>

@param routeCount
       The count of cells in the route matrix. Equal to the number of <code>DeparturePositions</code> multiplied
       by the number of <code>DestinationPositions</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-location/src/main/java/com/amazonaws/services/location/model/CalculateRouteMatrixSummary.java