> +             public Builder resourceUri(String resourceUri) {
> +                     this.resourceUri = resourceUri;
> +                     return this;
> +             }
> +
> +             public Builder uuid(String uuid) {
> +                     this.uuid = uuid;
> +                     return this;
> +             }
> +
> +             public Jobs build() {
> +                     return new Jobs(resourceUri, uuid);
> +             }
> +     }
> +
> +     private final String resourceUri;

If the name of the field in the Java object does not match the one in the JSON 
document, you'll have to give Gson (the library jclouds uses to serialize JSON) 
a hint, by adding a `@Named("resource_uri")` annotation to the field.

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

Reply via email to