@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 Toggleable
isEnabled
in class DiscoveryConfiguration
public void setEnabled(boolean enabled)
setEnabled
in class DiscoveryConfiguration
enabled
- Whether discovery is enabled