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