> + > + public Jobs build() { > + return new Jobs(resourceUri, uuid); > + } > + } > + > + private final String resourceUri; > + private final String uuid; > + > + @ConstructorProperties({ > + "resourceUri", "uuid" > + }) > + > + public Jobs(String resourceUri, String uuid) { > + this.resourceUri = resourceUri; > + this.uuid = uuid;
If the fields cannot be null (I think they are mandatory given a job), use the Guava Preconditions class to enforce that (otherwise annotate the constructor parameters as `@Nullable`): ```java this.resourceUri = checkNotNull(resourceUri, "resourceUri"); this.uuid = checkNotNull(uuid, "uuid"); ``` --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/67/files#r13220538