> +
> +@AutoValue
> +public abstract class CreateMember {
> +
> +   @Nullable
> +   public abstract String name();
> +
> +   public abstract List<String> peerURLs();
> +
> +   public abstract List<String> clientURLs();
> +
> +   CreateMember() {
> +   }
> +
> +   @SerializedNames({ "name", "peerURLs", "clientURLs" })
> +   public static CreateMember create(final String name, final List<String> 
> peerURLs, List<String> clientURLs) {

You should probably make this method private.

Then, to be able to instantiate CreateMember, provide a builder using 
auto-value similar to:

https://github.com/jclouds/jclouds-labs-openstack/blob/master/openstack-heat/src/main/java/org/jclouds/openstack/heat/v1/options/CreateStack.java

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

Reply via email to