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
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class io.micronaut.discovery.config.ConfigDiscoveryConfiguration

    DEFAULT_ENABLED, DEFAULT_PATH
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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

      @NonNull public @NonNull Duration 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

      public void setRetryDelay(@NonNull @NonNull Duration retryDelay)
      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