> +import org.jclouds.javax.annotation.Nullable;
> +
> +@AutoValue
> +public abstract class IpBlock {
> +
> +   public abstract String id();
> +
> +   public abstract Location location();
> +
> +   public abstract List<PublicIp> publicIps();
> +
> +   @Nullable
> +   public abstract List<String> ips();
> +
> +   public static IpBlock create(String id, Location location, List<PublicIp> 
> publicIps, List<String> ips) {
> +      return new AutoValue_IpBlock(id, location, publicIps, ips);

To enforce the immutability of the list, if not null you should pass an 
`ImmutableList.copyOf(ips)` to the auto value constructor.

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

Reply via email to