Class ResultError.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemigration.model.ResultError.Builder
-
- Enclosing class:
- ResultError
public static class ResultError.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultError.Builder
action(String action)
The text describing the action required to fix the issueResultError
build()
ResultError.Builder
code(String code)
A short error code that defines the error, meant for programmatic parsing.ResultError.Builder
copy(ResultError model)
ResultError.Builder
issue(String issue)
The text describing the root cause of the reported issueResultError.Builder
message(String message)
A human-readable error string.
-
-
-
Method Detail
-
code
public ResultError.Builder code(String code)
A short error code that defines the error, meant for programmatic parsing.- Parameters:
code
- the value to set- Returns:
- this builder
-
message
public ResultError.Builder message(String message)
A human-readable error string.- Parameters:
message
- the value to set- Returns:
- this builder
-
issue
public ResultError.Builder issue(String issue)
The text describing the root cause of the reported issue- Parameters:
issue
- the value to set- Returns:
- this builder
-
action
public ResultError.Builder action(String action)
The text describing the action required to fix the issue- Parameters:
action
- the value to set- Returns:
- this builder
-
build
public ResultError build()
-
copy
public ResultError.Builder copy(ResultError model)
-
-