Class OciObjectStorageRx.Builder
java.lang.Object
io.helidon.integrations.oci.objectstorage.OciObjectStorageRx.Builder
- All Implemented Interfaces:
Builder<OciObjectStorageRx.Builder,,OciObjectStorageRx> Supplier<OciObjectStorageRx>
- Enclosing interface:
- OciObjectStorageRx
public static class OciObjectStorageRx.Builder
extends Object
implements Builder<OciObjectStorageRx.Builder,OciObjectStorageRx>
Fluent API Builder for
OciObjectStorageRx.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the instance from this builder.Update from configuration.Explicit endpoint to use.hostPrefix(String prefix) Host prefix to use for object storage, defaults to "objectstorage".Object storage namespace to use.restApi(OciRestApi restApi) Instance of rest API to use.updateRestApi(Consumer<OciRestApi.Builder> builderConsumer) Update the rest access builder to modify defaults.
-
Method Details
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<OciObjectStorageRx.Builder,OciObjectStorageRx> - Returns:
- instance of the built type
-
config
Update from configuration. The configuration must be located on theOCIroot configuration node.- Parameters:
config- configuration- Returns:
- updated builder
-
restApi
Instance of rest API to use.- Parameters:
restApi- rest API- Returns:
- updated builder
-
hostPrefix
Host prefix to use for object storage, defaults to "objectstorage".- Parameters:
prefix- prefix to use- Returns:
- updated builder
-
endpoint
Explicit endpoint to use.- Parameters:
endpoint- endpoint- Returns:
- updated builder
-
namespace
Object storage namespace to use.- Parameters:
namespace- object storage namespace- Returns:
- updated builder
-
updateRestApi
Update the rest access builder to modify defaults.- Parameters:
builderConsumer- consumer of the builder- Returns:
- updated builder
-