public ListActionExecutionsRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of results to return in a single call. To retrieve the remaining results, make another call
with the returned nextToken value. Action execution history is retained for up to 12 months, based on action
execution start times. Default value is 100.
</p>

@param maxResults
       The maximum number of results to return in a single call. To retrieve the remaining results, make another
       call with the returned nextToken value. Action execution history is retained for up to 12 months, based on
       action execution start times. Default value is 100.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/ListActionExecutionsRequest.java