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.Builderaction(String action)The text describing the action required to fix the issueResultError.BuilderactionLink(String actionLink)The link to the documentationResultError.BuilderactionText(String actionText)The text for the link to the documentationResultErrorbuild()ResultError.Buildercode(String code)A short error code that defines the error, meant for programmatic parsing.ResultError.Buildercopy(ResultError model)ResultError.Builderissue(String issue)The text describing the root cause of the reported issueResultError.Buildermessage(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
-
actionLink
public ResultError.Builder actionLink(String actionLink)
The link to the documentation- Parameters:
actionLink- the value to set- Returns:
- this builder
-
actionText
public ResultError.Builder actionText(String actionText)
The text for the link to the documentation- Parameters:
actionText- the value to set- Returns:
- this builder
-
build
public ResultError build()
-
copy
public ResultError.Builder copy(ResultError model)
-
-