@EachProperty(value="endpoints") public class EndpointConfiguration extends Object
Endpoint configuration.| Modifier and Type | Field and Description |
|---|---|
static String |
PREFIX
The prefix for endpoints configurations.
|
| Constructor and Description |
|---|
EndpointConfiguration(String id,
EndpointDefaultConfiguration defaultConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
Optional<Boolean> |
isEnabled() |
Optional<Boolean> |
isSensitive() |
void |
setEnabled(Boolean enabled)
Sets whether the endpoint is enabled.
|
void |
setSensitive(Boolean sensitive)
Sets whether the endpoint is sensitive.
|
public static final String PREFIX
public EndpointConfiguration(@Parameter String id, EndpointDefaultConfiguration defaultConfiguration)
id - The id of the endpointdefaultConfiguration - The default endpoint configurationpublic String getId()
Endpoint.value()public Optional<Boolean> isEnabled()
Endpoint.defaultEnabled()public Optional<Boolean> isSensitive()
Endpoint.defaultSensitive()public void setEnabled(Boolean enabled)
enabled - True it is enabled, null for the default behaviourpublic void setSensitive(Boolean sensitive)
sensitive - True it is sensitive, null for the default behaviour