title: Is it possible to insert a Set of Objects to DynamoDB in one go - Java
body: <p>I can insert an Object(annotated with @DynamoDBTable) in DynamoDB using to following code</p>
  
  <pre><code>@Autowired
  private SdnInformationRepository sdnInformationRepository;
  
  SdnInformation inf = new SdnInformation();
  inf.setFirstName("firstname");
  inf.setLastName("lastname");
  sdnInformationRepository.save(inf);
  </code></pre>
  
  <p>Here is my repository</p>
  
  <pre><code>public interface SdnInformationRepository extends 
  CrudRepository&lt;SdnInformation, String&gt; { 
  }
  </code></pre>
  
  <p>and my model</p>
  
  <pre><code>@DynamoDBTable(tableName = "SdnList")
  public class SdnInformation {
  
  @DynamoDBHashKey(attributeName = "Id")
  @DynamoDBAutoGeneratedKey
  private String id;
  
  private String firstName;
  
  private String lastName;
  
  public String getFirstName() {
      return firstName;
  }
  
  public void setFirstName(String firstName) {
      this.firstName = firstName;
  }
  
  public String getLastName() {
      return lastName;
  }
  
  public void setLastName(String lastName) {
      this.lastName = lastName;
  }
  
  }
  </code></pre>
  
  <p>Everything works fine here. I want to know whether it is possible to insert a List/Set of SdnInformation objects at once? If I insert a huge number of such objects individually it takes too much time.
  So I want something like</p>
  
  <pre><code>Set&lt;SdnInformation&gt; listToInsert = new HashSet&lt;SdnInformation&gt;();
  ... some code to fill my set with thousands of objects ...
  sdnInformationRepository.save(listToInsert);
  </code></pre>