public static class DiagnosticsResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DiagnosticsResult |
build() |
DiagnosticsResult.Builder |
copy(DiagnosticsResult model) |
DiagnosticsResult.Builder |
error(ResultError error) |
DiagnosticsResult.Builder |
resultType(ResultType resultType)
Type of the Result (i.e.
|
public DiagnosticsResult.Builder resultType(ResultType resultType)
Type of the Result (i.e. Success or Failure).
resultType
- the value to setpublic DiagnosticsResult.Builder error(ResultError error)
public DiagnosticsResult build()
public DiagnosticsResult.Builder copy(DiagnosticsResult model)
Copyright © 2016–2024. All rights reserved.