public ListFlowsRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of results to return in the response. If the total number of results is greater than this
value, use the token returned in the response in the <code>nextToken</code> field when making another request to
return the next batch of results.
</p>

@param maxResults
       The maximum number of results to return in the response. If the total number of results is greater than
       this value, use the token returned in the response in the <code>nextToken</code> field when making another
       request to return the next batch of results.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/ListFlowsRequest.java