public ListTestGridSessionArtifactsRequest withMaxResult(Integer maxResult) {
        setMaxResult(maxResult);
        return this;
    }
<p>
The maximum number of results to be returned by a request.
</p>

@param maxResult
       The maximum number of results to be returned by a request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/ListTestGridSessionArtifactsRequest.java