@Requires(env="ec2") @Requires(property="aws.route53.discovery.enabled",value="true",defaultValue="false") @ConfigurationProperties(value="aws.route53.discovery") public class Route53DiscoveryConfiguration extends DiscoveryConfiguration
| Modifier and Type | Field and Description |
|---|---|
static String |
PREFIX |
DEFAULT_ENABLED| Constructor and Description |
|---|
Route53DiscoveryConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAwsServiceId()
AWS Service ID.
|
boolean |
isEnabled()
enable/disable this feature.
|
void |
setAwsServiceId(String awsServiceId)
set service ID for easier testing.
|
void |
setEnabled(boolean enabled)
enable/disabled this feature.
|
public static final String PREFIX
public String getAwsServiceId()
public void setAwsServiceId(String awsServiceId)
awsServiceId - aws service idpublic boolean isEnabled()
isEnabled in interface ToggleableisEnabled in class DiscoveryConfigurationpublic void setEnabled(boolean enabled)
setEnabled in class DiscoveryConfigurationenabled - Whether discovery is enabled