> +import javax.inject.Inject;
> +
> +import org.jclouds.googlecomputeengine.options.DiskCreationOptions;
> +import org.jclouds.http.HttpRequest;
> +import org.jclouds.rest.MapBinder;
> +import org.jclouds.rest.binders.BindToJsonPayload;
> +
> +public class DiskCreationBinder implements MapBinder {
> +
> +   @Inject
> +   private BindToJsonPayload jsonBinder;
> +
> +   public DiskCreationBinder SetBinder(BindToJsonPayload jsonBinder){
> +      this.jsonBinder = jsonBinder;
> +      return this;
> +   }

That is a much better idea.

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

Reply via email to