> + * @author Roman Coedo
> + */
> +public class GlacierError {
> +
> +   @SerializedName("code")
> +   private final String code;
> +   @SerializedName("message")
> +   private final String message;
> +   @SerializedName("type")
> +   private final String type;
> +
> +   @ConstructorProperties({ "code", "message", "type" })
> +   public GlacierError(String code, String message, String type) {
> +      this.code = code;
> +      this.message = message;
> +      this.type = type;

Add a `checkNotNull` check to all mandatory fields, and annotate as `@Nullable` 
the parameters of the constructor that can be null.

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

Reply via email to