> + public String getMessage() {
> + return message;
> + }
> +
> + public String getType() {
> + return type;
> + }
> +
> + public boolean isValid() {
> + return (this.code != null) && (this.message != null) && (this.type !=
> null);
> + }
> +
> + @Override
> + public String toString() {
> + return "GlacierError [code=" + this.getCode() + ", message=" +
> this.getMessage() + "type=" + this.getType() + "]";
> + }
Also override the equals and hashcode methods. Have a look at other providers
to see how we implement the domain objects.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/4/files#r12843129