> +
> +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");
What if we return an iterator instead of the list? It would be consistent with
the rest of the domain collection classes.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/31/files#r14331413