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 Summary
Modifier and TypeFieldDescriptionstatic final String
Prefix for the libraries internal configurations. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
void
setDefaultMaxBackoff
(Long defaultMaxBackoff) void
setDefaultMinBackoff
(Long defaultMinBackoff) void
setMaxRetries
(int maxRetries) void
setMaxRetryTime
(int maxRetryTime) void
setPrekillTime
(int prekillTime) void
setVersion
(String apiVersion)
-
Field Details
-
CONFIG_PREFIX
Prefix for the libraries internal configurations.- See Also:
-
-
Constructor Details
-
AppConfigurationProviderProperties
public AppConfigurationProviderProperties()
-
-
Method Details
-
getVersion
- Returns:
- the apiVersion
-
setVersion
- 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
- Returns:
- the startDate
-
getDefaultMinBackoff
- Returns:
- the defaultMinBackoff
-
setDefaultMinBackoff
- Parameters:
defaultMinBackoff
- the defaultMinBackoff to set
-
getDefaultMaxBackoff
- Returns:
- the defaultMaxBackoff
-
setDefaultMaxBackoff
- Parameters:
defaultMaxBackoff
- the defaultMaxBackoff to set
-