Class SecretBundleNodeConfigSource.Builder
java.lang.Object
io.helidon.config.AbstractSourceBuilder<SecretBundleNodeConfigSource.Builder,Void>
io.helidon.config.AbstractConfigSourceBuilder<SecretBundleNodeConfigSource.Builder,Void>
io.helidon.integrations.oci.secrets.configsource.AbstractSecretBundleConfigSource.Builder<SecretBundleNodeConfigSource.Builder>
io.helidon.integrations.oci.secrets.configsource.SecretBundleNodeConfigSource.Builder
- All Implemented Interfaces:
Source.Builder<SecretBundleNodeConfigSource.Builder>
- Enclosing class:
SecretBundleNodeConfigSource
public static final class SecretBundleNodeConfigSource.Builder
extends AbstractSecretBundleConfigSource.Builder<SecretBundleNodeConfigSource.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates and returns a newSecretBundleNodeConfigSourceinstance initialized from the state of thisSecretBundleNodeConfigSource.Builder.compartmentOcid(String compartmentOcid) Sets the (required) OCID of the OCI compartment housing the vault from which aSecretBundleNodeConfigSourcewill retrieve values.Configures thisSecretBundleNodeConfigSource.Builderfrom the supplied meta-configuration.pollingStrategy(PollingStrategy pollingStrategy) Sets thePollingStrategyfor use by thisSecretBundleNodeConfigSource.Builder.vaultsSupplier(Supplier<? extends com.oracle.bmc.vault.Vaults> vaultsSupplier) Uses the suppliedSupplierofVaultsinstances, instead of the default one, for communicating with the OCI Vaults API.Methods inherited from class io.helidon.integrations.oci.secrets.configsource.AbstractSecretBundleConfigSource.Builder
secretsSupplier, vaultOcidMethods inherited from class io.helidon.config.AbstractConfigSourceBuilder
mediaType, mediaTypeMapping, parser, parserMappingMethods inherited from class io.helidon.config.AbstractSourceBuilder
changeWatcher, optional, 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
-
Method Details
-
build
Creates and returns a newSecretBundleNodeConfigSourceinstance initialized from the state of thisSecretBundleNodeConfigSource.Builder.- Returns:
- a new
SecretBundleNodeConfigSource
-
compartmentOcid
Sets the (required) OCID of the OCI compartment housing the vault from which aSecretBundleNodeConfigSourcewill retrieve values.- Parameters:
compartmentOcid- a valid OCID identifying an OCI compartment; must not benull- Returns:
- this
SecretBundleNodeConfigSource.Builder - Throws:
NullPointerException- ifcompartmentIdisnull
-
config
Configures thisSecretBundleNodeConfigSource.Builderfrom the supplied meta-configuration.- Overrides:
configin classAbstractSecretBundleConfigSource.Builder<SecretBundleNodeConfigSource.Builder>- Parameters:
metaConfig- the meta-configuration; must not benull- Returns:
- this
SecretBundleNodeConfigSource.Builder - Throws:
NullPointerException- ifmetaConfigisnull
-
pollingStrategy
Sets thePollingStrategyfor use by thisSecretBundleNodeConfigSource.Builder.If this method is never called, no
PollingStrategywill be used by thisSecretBundleNodeConfigSource.Builder.The implementation of this method calls
super.pollingStrategy(pollingStrategy)and returns the result.- Overrides:
pollingStrategyin classAbstractSourceBuilder<SecretBundleNodeConfigSource.Builder,Void> - Parameters:
pollingStrategy- aPollingStrategy; must not benull- Returns:
- this
SecretBundleNodeConfigSource.Builder - Throws:
NullPointerException- ifpollingStrategyisnull- See Also:
-
vaultsSupplier
public SecretBundleNodeConfigSource.Builder vaultsSupplier(Supplier<? extends com.oracle.bmc.vault.Vaults> vaultsSupplier) Uses the suppliedSupplierofVaultsinstances, instead of the default one, for communicating with the OCI Vaults API.- Parameters:
vaultsSupplier- the non-defaultSupplierto use; must not benull- Returns:
- this
SecretBundleNodeConfigSource.Builder - Throws:
NullPointerException- ifvaultsSupplierisnull
-