title: How to list all AWS S3 objects in a bucket using Java
body: <p>What is the simplest way to get a list of all items within an S3 bucket using Java?</p>
  
  <pre><code>List&lt;S3ObjectSummary&gt; s3objects = s3.listObjects(bucketName,prefix).getObjectSummaries();
  </code></pre>
  
  <p>This example only returns 1000 items.</p>