Class OciRestException.Builder
- java.lang.Object
-
- io.helidon.integrations.common.rest.ApiRestException.BaseBuilder<OciRestException.Builder>
-
- io.helidon.integrations.oci.connect.OciRestException.Builder
-
- All Implemented Interfaces:
Builder<OciRestException>
,Supplier<OciRestException>
- Enclosing class:
- OciRestException
public static class OciRestException.Builder extends ApiRestException.BaseBuilder<OciRestException.Builder> implements Builder<OciRestException>
Fluent API builder forOciRestException
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OciRestException
build()
Build the instance from this builder.OciRestException.Builder
errorCode(String errorCode)
OCI specific error code.OciRestException.Builder
errorMessage(String errorMessage)
OCI specific error message.-
Methods inherited from class io.helidon.integrations.common.rest.ApiRestException.BaseBuilder
apiSpecificError, cause, headers, me, message, requestId, status
-
-
-
-
Method Detail
-
build
public OciRestException build()
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<OciRestException>
- Returns:
- instance of the built type
-
errorCode
public OciRestException.Builder errorCode(String errorCode)
OCI specific error code.- Parameters:
errorCode
- OCI error code- Returns:
- updated builder
-
errorMessage
public OciRestException.Builder errorMessage(String errorMessage)
OCI specific error message.- Parameters:
errorMessage
- OCI error message- Returns:
- updated builder
-
-