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 Summary
Nested classes/interfaces inherited from class io.micronaut.discovery.config.ConfigDiscoveryConfiguration
io.micronaut.discovery.config.ConfigDiscoveryConfiguration.Format
-
Field Summary
Fields inherited from class io.micronaut.discovery.config.ConfigDiscoveryConfiguration
DEFAULT_ENABLED, DEFAULT_PATH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of attempts to retry when retrieving a secret from the Oracle Cloud Vault.@NonNull Duration
Returns the delay between retries retrieving a secret from the Oracle Cloud Vault.void
setRetryAttempts
(int retryAttempts) Sets the number of attempts to retry when retrieving a secret from the Oracle Cloud Vault.void
setRetryDelay
(@NonNull Duration retryDelay) Sets the delay between retries retrieving a secret from the Oracle Cloud Vault.Methods inherited from class io.micronaut.discovery.config.ConfigDiscoveryConfiguration
getFormat, getPath, isEnabled, setEnabled, setFormat, setPath
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
OracleCloudVaultClientDiscoveryConfiguration
public OracleCloudVaultClientDiscoveryConfiguration()
-
-
Method Details
-
getRetryAttempts
public int getRetryAttempts()Returns the number of attempts to retry when retrieving a secret from the Oracle Cloud Vault.- Returns:
- the number of retry attempts
-
setRetryAttempts
public 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
-
getRetryDelay
Returns the delay between retries retrieving a secret from the Oracle Cloud Vault.- Returns:
- the duration of time to wait before attempting another connection
-
setRetryDelay
Sets 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
-