public void setMaxItems(Integer maxItems) {
        this.maxItems = maxItems;
    }
<p>
An optional parameter where you can specify the maximum number of file/directory names to retrieve. The default
value is 1,000.
</p>

@param maxItems
       An optional parameter where you can specify the maximum number of file/directory names to retrieve. The
       default value is 1,000.
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/StartDirectoryListingRequest.java