public static class WorkRequestError.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WorkRequestError |
build() |
WorkRequestError.Builder |
copy(WorkRequestError model) |
WorkRequestError.Builder |
errorCode(WorkRequestError.ErrorCode errorCode) |
WorkRequestError.Builder |
message(String message)
A human-readable error string.
|
public WorkRequestError.Builder errorCode(WorkRequestError.ErrorCode errorCode)
public WorkRequestError.Builder message(String message)
A human-readable error string.
message
- the value to setpublic WorkRequestError build()
public WorkRequestError.Builder copy(WorkRequestError model)
Copyright © 2016–2024. All rights reserved.