Class OracleCloudVaultConfiguration.OracleCloudVaultClientDiscoveryConfiguration
java.lang.Object
io.micronaut.discovery.config.ConfigDiscoveryConfiguration
io.micronaut.oraclecloud.discovery.vault.OracleCloudVaultConfiguration.OracleCloudVaultClientDiscoveryConfiguration
- All Implemented Interfaces:
- io.micronaut.core.util.Toggleable
- Enclosing class:
- OracleCloudVaultConfiguration
@ConfigurationProperties("config")
public static class OracleCloudVaultConfiguration.OracleCloudVaultClientDiscoveryConfiguration
extends io.micronaut.discovery.config.ConfigDiscoveryConfiguration
The Discovery Configuration class for Oracle Cloud Vault.
- 
Nested Class SummaryNested classes/interfaces inherited from class io.micronaut.discovery.config.ConfigDiscoveryConfigurationio.micronaut.discovery.config.ConfigDiscoveryConfiguration.Format
- 
Field SummaryFieldsFields inherited from class io.micronaut.discovery.config.ConfigDiscoveryConfigurationDEFAULT_ENABLED, DEFAULT_PATH
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the number of attempts to retry when retrieving a secret from the Oracle Cloud Vault.@NonNull DurationReturns the delay between retries retrieving a secret from the Oracle Cloud Vault.voidsetRetryAttempts(int retryAttempts) Sets the number of attempts to retry when retrieving a secret from the Oracle Cloud Vault.voidsetRetryDelay(@NonNull Duration retryDelay) Sets the delay between retries retrieving a secret from the Oracle Cloud Vault.Methods inherited from class io.micronaut.discovery.config.ConfigDiscoveryConfigurationgetFormat, getPath, isEnabled, setEnabled, setFormat, setPath
- 
Field Details- 
PREFIX- See Also:
 
 
- 
- 
Constructor Details- 
OracleCloudVaultClientDiscoveryConfigurationpublic OracleCloudVaultClientDiscoveryConfiguration()
 
- 
- 
Method Details- 
getRetryAttemptspublic int getRetryAttempts()Returns the number of attempts to retry when retrieving a secret from the Oracle Cloud Vault.- Returns:
- the number of retry attempts
 
- 
setRetryAttemptspublic void setRetryAttempts(int retryAttempts) Sets the number of attempts to retry when retrieving a secret from the Oracle Cloud Vault.- Parameters:
- retryAttempts- the number of retry attempts
 
- 
getRetryDelayReturns the delay between retries retrieving a secret from the Oracle Cloud Vault.- Returns:
- the duration of time to wait before attempting another connection
 
- 
setRetryDelaySets the delay between retries retrieving a secret from the Oracle Cloud Vault.This value determines how long the system waits before attempting another connection after a failed attempt. - Parameters:
- retryDelay- the duration of time to wait before attempting another connection
 
 
-