public GetSparqlStreamResult withTotalRecords(Integer totalRecords) {
        setTotalRecords(totalRecords);
        return this;
    }
<p>
The total number of records in the response.
</p>

@param totalRecords
       The total number of records in the response.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-neptunedata/src/main/java/com/amazonaws/services/neptunedata/model/GetSparqlStreamResult.java