> +
> +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");

`IterableWithMarker` and `Iterable` are appropriate for infinite-length 
streams, or at least those too large for memory, and useful for listing 
container contents. 

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

Reply via email to