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