title: How to store data from Spring Boot model to S3 as CVS file - Java
body: <p>I have a model in Spring Boot that looks like this:</p>
  <pre><code>public class TransactionHistory {
      public final String id;
      public final String firstName;
      public final String lastName;
  
      public TransactionHistory(String id, String firstName, String lastName) {
          this.id = id;
          this.firstName = firstName;
          this.lastName = lastName;
      }
  }
  </code></pre>
  <p>I would like to post this data to S3 as <code>CSV</code> file that can be downloaded from S3.</p>
  <p>What is the best way to do it?</p>
  <p>If it's possible I would like to create <code>CSV</code> in Java code and from code post it to S3, so I don't need to store it locally on computer or in database.</p>
  <p>Is this possible?</p>