Package io.micronaut.opensearch.conf
Class OpenSearchConfigurationProperties
java.lang.Object
io.micronaut.opensearch.conf.OpenSearchConfigurationProperties
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable
,OpenSearchConfiguration
@ConfigurationProperties("micronaut.opensearch")
public final class OpenSearchConfigurationProperties
extends Object
implements OpenSearchConfiguration
ConfigurationProperties
implementation of OpenSearchConfiguration
.- Since:
- 1.0.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
The default enable value.static final String
OpenSearch configuration. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setEnabled
(boolean enabled) If OpenSearch integration is enabled.
-
Field Details
-
DEFAULT_ENABLED
public static final boolean DEFAULT_ENABLEDThe default enable value.- See Also:
-
PREFIX
OpenSearch configuration.- See Also:
-
-
Constructor Details
-
OpenSearchConfigurationProperties
public OpenSearchConfigurationProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceio.micronaut.core.util.Toggleable
-
setEnabled
public void setEnabled(boolean enabled) If OpenSearch integration is enabled. Default value true- Parameters:
enabled
- True if security is enabled
-