> + public abstract static class SubnetProperties{
> +
> + @Nullable
> + public abstract String provisioningState();
> +
> + @Nullable
> + public abstract String addressPrefix();
> +
> + @Nullable
> + public abstract List<IpConfiguration> ipConfigurations();
> +
> + @SerializedNames({"provisioningState", "addressPrefix",
> "ipConfigurations"})
> + public static SubnetProperties create(final String
> provisioningState, final String addressPrefix, final List<IpConfiguration>
> ipConfigurations) {
> + return new AutoValue_Subnet_SubnetProperties(provisioningState,
> addressPrefix, ipConfigurations != null ? copyOf(ipConfigurations) : null);
> + }
> + }
I've seen that the common use case is to call this method with `null, "prefix",
null`. It is kinda ugly, so what about creating a builder for this class, using
auto builders?
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/262/files/1801c68f227e1f245a30c6fa6ff044e7e2634460#r60747403