Package com.oracle.bmc.bds.model
Class DefaultError.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.DefaultError.Builder
-
- Enclosing class:
- DefaultError
public static class DefaultError.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultError
build()
DefaultError.Builder
code(String code)
A short error code that defines the error, meant for programmatic parsing.DefaultError.Builder
copy(DefaultError model)
DefaultError.Builder
message(String message)
A human-readable error string.
-
-
-
Method Detail
-
code
public DefaultError.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 DefaultError.Builder message(String message)
A human-readable error string.- Parameters:
message
- the value to set- Returns:
- this builder
-
build
public DefaultError build()
-
copy
public DefaultError.Builder copy(DefaultError model)
-
-