jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds-labs] JClouds Profitbricks provider - LoadBalancer API (#143)
Date Mon, 09 Mar 2015 17:02:09 GMT
> +
> +            public Builder serverIds(List<String> serverIds) {
> +               this.serverIds = serverIds;
> +               return this;
> +            }
> +
> +            public CreatePayload build() {
> +               return CreatePayload.create(dataCenterId, loadBalancerName, loadBalancerAlgorithm,
ip, lanId, serverIds);
> +            }
> +         }
> +      }
> +
> +      @AutoValue
> +      public abstract static class RegisterPayload {
> +
> +         public abstract List<String> serverIds();

Same comment about immutable lists.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/143/files#r26053979
Mime
View raw message