Class AppConfigurationProviderProperties

java.lang.Object
com.azure.spring.cloud.config.properties.AppConfigurationProviderProperties

@Configuration @Validated @PropertySource("classpath:appConfiguration.yaml") @ConfigurationProperties(prefix="spring.cloud.appconfiguration") public class AppConfigurationProviderProperties extends Object
Properties defining connection to Azure App Configuration.
  • Field Details

    • CONFIG_PREFIX

      public static final String CONFIG_PREFIX
      Prefix for the libraries internal configurations.
      See Also:
  • Constructor Details

    • AppConfigurationProviderProperties

      public AppConfigurationProviderProperties()
  • Method Details

    • getVersion

      public String getVersion()
      Returns:
      the apiVersion
    • setVersion

      public void setVersion(String apiVersion)
      Parameters:
      apiVersion - the apiVersion to set
    • getMaxRetries

      public int getMaxRetries()
      Returns:
      the maxRetries
    • setMaxRetries

      public void setMaxRetries(int maxRetries)
      Parameters:
      maxRetries - the maxRetries to set
    • getMaxRetryTime

      public int getMaxRetryTime()
      Returns:
      the maxRetryTime
    • setMaxRetryTime

      public void setMaxRetryTime(int maxRetryTime)
      Parameters:
      maxRetryTime - the maxRetryTime to set
    • getPrekillTime

      public int getPrekillTime()
      Returns:
      the prekillTime
    • setPrekillTime

      public void setPrekillTime(int prekillTime)
      Parameters:
      prekillTime - the prekillTime to set
    • getStartDate

      public Instant getStartDate()
      Returns:
      the startDate
    • getDefaultMinBackoff

      public Long getDefaultMinBackoff()
      Returns:
      the defaultMinBackoff
    • setDefaultMinBackoff

      public void setDefaultMinBackoff(Long defaultMinBackoff)
      Parameters:
      defaultMinBackoff - the defaultMinBackoff to set
    • getDefaultMaxBackoff

      public Long getDefaultMaxBackoff()
      Returns:
      the defaultMaxBackoff
    • setDefaultMaxBackoff

      public void setDefaultMaxBackoff(Long defaultMaxBackoff)
      Parameters:
      defaultMaxBackoff - the defaultMaxBackoff to set