public abstract static class ErrorResponse.Builder<T extends ErrorResponse.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
errorCode |
protected String |
message |
Constructor and Description |
---|
ErrorResponse.Builder() |
Modifier and Type | Method and Description |
---|---|
ErrorResponse |
build() |
T |
errorCode(String errorCode) |
T |
fromErrorResponse(ErrorResponse in) |
T |
message(String message) |
protected abstract T |
self() |
protected abstract T self()
public T message(String message)
ErrorResponse.getMessage()
public T errorCode(String errorCode)
ErrorResponse.getErrorCode()
public ErrorResponse build()
public T fromErrorResponse(ErrorResponse in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.