DynamoDB mapping List of Enum
<p>Mapping an enum class in to DynamoDB object is really simple by using Custom Marshall. But how to map a List of Enum?</p>

<p>Enum class</p>

<pre><code>public enum Transport {
SMS,EMAIL,ALL;
}
</code></pre>

<p>DynamoDB mapper</p>

<pre><code>public class Campaign{
   private List&lt;Transport&gt; transport;

   @DynamoDBAttribute(attributeName = "transport")
   public List&lt;Transport&gt; getTransport() {
       return transport;
   }

   public void setTransport(List&lt;Transport&gt; transport) {
      this.transport = transport;
   }
}
</code></pre>