> +
> +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");
Then I should probably make a copy using ImmutableList on the other collections
too. Also, what do you think about IterableWithMarker? Do you think I should
use an alternative, returning a collection instead of an iterator? I don't want
to hurt any kittens!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/31/files#r14331980