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 OciObjectStorageRx
build()
Build the instance from this builder.OciObjectStorageRx.Builder
config(Config config)
Update from configuration.OciObjectStorageRx.Builder
endpoint(String endpoint)
Explicit endpoint to use.OciObjectStorageRx.Builder
hostPrefix(String prefix)
Host prefix to use for object storage, defaults to "objectstorage".OciObjectStorageRx.Builder
namespace(String namespace)
Object storage namespace to use.OciObjectStorageRx.Builder
restApi(OciRestApi restApi)
Instance of rest API to use.OciObjectStorageRx.Builder
updateRestApi(Consumer<OciRestApi.Builder> builderConsumer)
Update the rest access builder to modify defaults.
-
-
-
Method Detail
-
build
public OciObjectStorageRx build()
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<OciObjectStorageRx>
- Returns:
- instance of the built type
-
config
public OciObjectStorageRx.Builder config(Config config)
Update from configuration. The configuration must be located on theOCI
root 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
-
-