Class AddonError.Builder
- java.lang.Object
-
- com.oracle.bmc.containerengine.model.AddonError.Builder
-
- Enclosing class:
- AddonError
public static class AddonError.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddonError
build()
AddonError.Builder
code(String code)
A short error code that defines the upstream error, meant for programmatic parsing.AddonError.Builder
copy(AddonError model)
AddonError.Builder
message(String message)
A human-readable error string of the upstream error.AddonError.Builder
status(String status)
The status of the HTTP response encountered in the upstream error.
-
-
-
Method Detail
-
code
public AddonError.Builder code(String code)
A short error code that defines the upstream error, meant for programmatic parsing.See API Errors.
- Parameters:
code
- the value to set- Returns:
- this builder
-
message
public AddonError.Builder message(String message)
A human-readable error string of the upstream error.- Parameters:
message
- the value to set- Returns:
- this builder
-
status
public AddonError.Builder status(String status)
The status of the HTTP response encountered in the upstream error.- Parameters:
status
- the value to set- Returns:
- this builder
-
build
public AddonError build()
-
copy
public AddonError.Builder copy(AddonError model)
-
-