Class ErrorResponse.Builder<T extends ErrorResponse.Builder<T>>
- java.lang.Object
-
- org.jclouds.gogrid.domain.internal.ErrorResponse.Builder<T>
-
- Enclosing class:
- ErrorResponse
public abstract static class ErrorResponse.Builder<T extends ErrorResponse.Builder<T>> extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ErrorResponse
build()
T
errorCode(String errorCode)
T
fromErrorResponse(ErrorResponse in)
T
message(String message)
protected abstract T
self()
-
-
-
Method Detail
-
self
protected abstract T self()
-
message
public T message(String message)
- See Also:
ErrorResponse.getMessage()
-
errorCode
public T errorCode(String errorCode)
- See Also:
ErrorResponse.getErrorCode()
-
build
public ErrorResponse build()
-
fromErrorResponse
public T fromErrorResponse(ErrorResponse in)
-
-