Class AbstractSecretBundleConfigSource.Builder<B extends AbstractConfigSourceBuilder<B,Void>>
java.lang.Object
io.helidon.config.AbstractSourceBuilder<B,U>
io.helidon.config.AbstractConfigSourceBuilder<B,Void>
io.helidon.integrations.oci.secrets.configsource.AbstractSecretBundleConfigSource.Builder<B>
- Type Parameters:
B
- the builder subclass
- All Implemented Interfaces:
Source.Builder<B>
- Direct Known Subclasses:
SecretBundleLazyConfigSource.Builder
,SecretBundleNodeConfigSource.Builder
- Enclosing class:
- AbstractSecretBundleConfigSource<B extends AbstractConfigSourceBuilder<B,
Void>>
public abstract static sealed class AbstractSecretBundleConfigSource.Builder<B extends AbstractConfigSourceBuilder<B,Void>>
extends AbstractConfigSourceBuilder<B,Void>
permits SecretBundleLazyConfigSource.Builder, SecretBundleNodeConfigSource.Builder
An
AbstractConfigSourceBuilder
used to build instances of AbstractSecretBundleConfigSource
.-
Constructor Summary
ModifierConstructorDescriptionprotected
Builder()
Creates a newAbstractSecretBundleConfigSource.Builder
. -
Method Summary
Modifier and TypeMethodDescriptionConfigures thisAbstractSecretBundleConfigSource.Builder
from the supplied meta-configuration.secretsSupplier
(Supplier<? extends com.oracle.bmc.secrets.Secrets> secretsSupplier) Uses the suppliedSupplier
ofSecrets
instances, instead of the default one, for communicating with the OCI Secrets Retrieval API.Sets the (required) OCID of the OCI vault from which anAbstractSecretBundleConfigSource
will retrieve values.Methods inherited from class io.helidon.config.AbstractConfigSourceBuilder
mediaType, mediaTypeMapping, parser, parserMapping
Methods inherited from class io.helidon.config.AbstractSourceBuilder
changeWatcher, optional, pollingStrategy, retryPolicy
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.config.spi.Source.Builder
optional, optional, retryPolicy
-
Constructor Details
-
Builder
protected Builder()Creates a newAbstractSecretBundleConfigSource.Builder
.
-
-
Method Details
-
config
Configures thisAbstractSecretBundleConfigSource.Builder
from the supplied meta-configuration.- Overrides:
config
in classAbstractConfigSourceBuilder<B extends AbstractConfigSourceBuilder<B,
Void>, Void> - Parameters:
metaConfig
- the meta-configuration; must not benull
- Returns:
- this
AbstractSecretBundleConfigSource.Builder
- Throws:
NullPointerException
- ifmetaConfig
isnull
-
vaultOcid
Sets the (required) OCID of the OCI vault from which anAbstractSecretBundleConfigSource
will retrieve values.- Parameters:
vaultOcid
- a valid OCID identifying an OCI vault; must not benull
- Returns:
- this
AbstractSecretBundleConfigSource.Builder
- Throws:
NullPointerException
- ifvaultId
isnull
-
secretsSupplier
Uses the suppliedSupplier
ofSecrets
instances, instead of the default one, for communicating with the OCI Secrets Retrieval API.- Parameters:
secretsSupplier
- the non-defaultSupplier
to use; must not benull
- Returns:
- this
AbstractSecretBundleConfigSource.Builder
- Throws:
NullPointerException
- ifsecretsSupplier
isnull
-