@ConfigurationProperties(value="alexa.endpoint") public class AlexaControllerConfigurationProperties extends java.lang.Object implements AlexaControllerConfiguration
ConfigurationProperties
implementation of AlexaControllerConfiguration
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_PATH |
static java.lang.String |
PREFIX |
Constructor and Description |
---|
AlexaControllerConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPath() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Sets whether this configuration is enabled.
|
void |
setPath(java.lang.String path)
Default value ("/alexa").
|
public static final java.lang.String PREFIX
public static final java.lang.String DEFAULT_PATH
public AlexaControllerConfigurationProperties()
@Nullable public java.lang.String getPath()
getPath
in interface AlexaControllerConfiguration
public void setPath(@Nullable java.lang.String path)
path
- The path to alexa endpoint.public boolean isEnabled()
isEnabled
in interface io.micronaut.core.util.Toggleable
public void setEnabled(boolean enabled)
enabled
- The enabled setting