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 ObjectProperties defining connection to Azure App Configuration.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIG_PREFIXPrefix for the libraries internal configurations.
-
Constructor Summary
Constructors Constructor Description AppConfigurationProviderProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetDefaultMaxBackoff()LonggetDefaultMinBackoff()intgetMaxRetries()intgetMaxRetryTime()intgetPrekillTime()InstantgetStartDate()StringgetVersion()voidsetDefaultMaxBackoff(Long defaultMaxBackoff)voidsetDefaultMinBackoff(Long defaultMinBackoff)voidsetMaxRetries(int maxRetries)voidsetMaxRetryTime(int maxRetryTime)voidsetPrekillTime(int prekillTime)voidsetVersion(String apiVersion)
-
-
-
Field Detail
-
CONFIG_PREFIX
public static final String CONFIG_PREFIX
Prefix for the libraries internal configurations.- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-