Class AddonError.Builder
- java.lang.Object
- 
- com.oracle.bmc.containerengine.model.AddonError.Builder
 
- 
- Enclosing class:
- AddonError
 
 public static class AddonError.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AddonErrorbuild()AddonError.Buildercode(String code)A short error code that defines the upstream error, meant for programmatic parsing.AddonError.Buildercopy(AddonError model)AddonError.Buildermessage(String message)A human-readable error string of the upstream error.AddonError.Builderstatus(String status)The status of the HTTP response encountered in the upstream error.
 
- 
- 
- 
Method Detail- 
codepublic 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
 
 - 
messagepublic AddonError.Builder message(String message) A human-readable error string of the upstream error.- Parameters:
- message- the value to set
- Returns:
- this builder
 
 - 
statuspublic 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
 
 - 
buildpublic AddonError build() 
 - 
copypublic AddonError.Builder copy(AddonError model) 
 
- 
 
-