> +
> +import com.google.gson.annotations.SerializedName;
> +
> +
> +public class ArchiveMetadataCollection {
> +
> +   @SerializedName("ArchiveList")
> +   private final Iterable<ArchiveMetadata> archives;
> +   @SerializedName("VaultARN")
> +   private final String vaultARN;
> +   @SerializedName("InventoryDate")
> +   private final Date inventoryDate;
> +
> +   @ConstructorProperties({ "ArchiveList", "VaultARN", "InventoryDate" })
> +   public ArchiveMetadataCollection(Iterable<ArchiveMetadata> archives, 
> String vaultARN, Date inventoryDate) {
> +      this.archives = checkNotNull(archives, "archives");

Should this create a copy of `archives` via `ImmutableList.copyOf`?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/31/files#r14331369

Reply via email to