@Environment(value=CLIENT) public static class UploadResult.Builder extends Object
Modifier and Type | Field and Description |
---|---|
private String |
errorMessage |
private int |
statusCode |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UploadResult |
build() |
UploadResult.Builder |
withErrorMessage(String errorMessage) |
UploadResult.Builder |
withStatusCode(int statusCode) |
private int statusCode
private String errorMessage
public UploadResult.Builder withStatusCode(int statusCode)
public UploadResult.Builder withErrorMessage(String errorMessage)
public UploadResult build()