@Configuration @Validated @PropertySource(value="classpath:appConfiguration.yaml") @ConfigurationProperties(prefix="spring.cloud.appconfiguration") public class AppConfigurationProviderProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_PREFIX |
| Constructor and Description |
|---|
AppConfigurationProviderProperties() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxRetries() |
int |
getMaxRetryTime() |
int |
getPrekillTime() |
Date |
getStartDate() |
String |
getVersion() |
void |
setMaxRetries(int maxRetries) |
void |
setMaxRetryTime(int maxRetryTime) |
void |
setPrekillTime(int prekillTime) |
void |
setVersion(String apiVersion) |
public static final String CONFIG_PREFIX
public String getVersion()
public void setVersion(String apiVersion)
apiVersion - the apiVersion to setpublic int getMaxRetries()
public void setMaxRetries(int maxRetries)
maxRetries - the maxRetries to setpublic int getMaxRetryTime()
public void setMaxRetryTime(int maxRetryTime)
maxRetryTime - the maxRetryTime to setpublic int getPrekillTime()
public void setPrekillTime(int prekillTime)
prekillTime - the prekillTime to setpublic Date getStartDate()
Copyright © 2020 Microsoft. All rights reserved.