public void setDistance(Double distance) {
        this.distance = distance;
    }
<p>
The total distance of travel for the route.
</p>

@param distance
       The total distance of travel for the route.
aws-java-sdk-location/src/main/java/com/amazonaws/services/location/model/RouteMatrixEntry.java