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