Class ErrorEntity.Builder
- java.lang.Object
-
- com.oracle.bmc.servicemanagerproxy.model.ErrorEntity.Builder
-
- Enclosing class:
- ErrorEntity
public static class ErrorEntity.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorEntity
build()
ErrorEntity.Builder
code(String code)
A short error code that defines the error.ErrorEntity.Builder
copy(ErrorEntity model)
ErrorEntity.Builder
message(String message)
A human-readable error string.
-
-
-
Method Detail
-
code
public ErrorEntity.Builder code(String code)
A short error code that defines the error.- Parameters:
code
- the value to set- Returns:
- this builder
-
message
public ErrorEntity.Builder message(String message)
A human-readable error string.- Parameters:
message
- the value to set- Returns:
- this builder
-
build
public ErrorEntity build()
-
copy
public ErrorEntity.Builder copy(ErrorEntity model)
-
-