Amazon S3 sync to local folder - Java
<p>I am working with files that are stored on S3. Because there could be a lot of files, classic list will return only 1000 files that are on S3, but I need only new ones to be downloaded to local folder. This could be done by sync between local folder and S3.</p>

<p>I know that this is possible through amazon cli, but is this possible to be done through Amazon Java SDK. I tried to search it and read documentation, but I was not successful. I found that there is some version in PHP SDK (<a href="https://blogs.aws.amazon.com/php/post/Tx2W9JAA7RXVOXA/Syncing-Data-with-Amazon-S3" rel="nofollow">PHP version</a>), so is there similar version for Java?</p>