public ListFirewallsRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of objects that you want Network Firewall to return for this request. If more objects are
available, in the response, Network Firewall provides a <code>NextToken</code> value that you can use in a
subsequent call to get the next batch of objects.
</p>

@param maxResults
       The maximum number of objects that you want Network Firewall to return for this request. If more objects
       are available, in the response, Network Firewall provides a <code>NextToken</code> value that you can use
       in a subsequent call to get the next batch of objects.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/ListFirewallsRequest.java