Class ErrorResponse
- java.lang.Object
-
- org.jclouds.gogrid.domain.internal.ErrorResponse
-
- All Implemented Interfaces:
Comparable<ErrorResponse>
public class ErrorResponse extends Object implements Comparable<ErrorResponse>
Class ErrorResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ErrorResponse.Builder<T extends ErrorResponse.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
ErrorResponse(String message, String errorCode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ErrorResponse.Builder<?>
builder()
int
compareTo(ErrorResponse that)
boolean
equals(Object obj)
String
getErrorCode()
String
getMessage()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
ErrorResponse.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
ErrorResponse
@ConstructorProperties({"message","errorcode"}) protected ErrorResponse(String message, String errorCode)
-
-
Method Detail
-
builder
public static ErrorResponse.Builder<?> builder()
-
toBuilder
public ErrorResponse.Builder<?> toBuilder()
-
getMessage
public String getMessage()
-
getErrorCode
public String getErrorCode()
-
compareTo
public int compareTo(ErrorResponse that)
- Specified by:
compareTo
in interfaceComparable<ErrorResponse>
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-