Class AbstractSecretBundleConfigSource.Builder<B extends AbstractConfigSourceBuilder<B,Void>>
java.lang.Object
io.helidon.config.AbstractSourceBuilder<B,Void>
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
ConstructorsModifierConstructorDescriptionprotectedBuilder()Creates a newAbstractSecretBundleConfigSource.Builder. -
Method Summary
Modifier and TypeMethodDescriptionConfigures thisAbstractSecretBundleConfigSource.Builderfrom the supplied meta-configuration.secretsSupplier(Supplier<? extends com.oracle.bmc.secrets.Secrets> secretsSupplier) Uses the suppliedSupplierofSecretsinstances, instead of the default one, for communicating with the OCI Secrets Retrieval API.Sets the (required) OCID of the OCI vault from which anAbstractSecretBundleConfigSourcewill retrieve values.Methods inherited from class io.helidon.config.AbstractConfigSourceBuilder
mediaType, mediaTypeMapping, parser, parserMappingMethods inherited from class io.helidon.config.AbstractSourceBuilder
changeWatcher, optional, pollingStrategy, retryPolicyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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.Builderfrom the supplied meta-configuration.- Overrides:
configin classAbstractConfigSourceBuilder<B extends AbstractConfigSourceBuilder<B,Void>, Void> - Parameters:
metaConfig- the meta-configuration; must not benull- Returns:
- this
AbstractSecretBundleConfigSource.Builder - Throws:
NullPointerException- ifmetaConfigisnull
-
vaultOcid
Sets the (required) OCID of the OCI vault from which anAbstractSecretBundleConfigSourcewill retrieve values.- Parameters:
vaultOcid- a valid OCID identifying an OCI vault; must not benull- Returns:
- this
AbstractSecretBundleConfigSource.Builder - Throws:
NullPointerException- ifvaultIdisnull
-
secretsSupplier
Uses the suppliedSupplierofSecretsinstances, instead of the default one, for communicating with the OCI Secrets Retrieval API.- Parameters:
secretsSupplier- the non-defaultSupplierto use; must not benull- Returns:
- this
AbstractSecretBundleConfigSource.Builder - Throws:
NullPointerException- ifsecretsSupplierisnull
-