Class AlexaControllerConfigurationProperties
java.lang.Object
io.micronaut.aws.alexa.httpserver.conf.AlexaControllerConfigurationProperties
- All Implemented Interfaces:
AlexaControllerConfiguration,io.micronaut.core.util.Toggleable
@ConfigurationProperties("alexa.endpoint")
public class AlexaControllerConfigurationProperties
extends Object
implements AlexaControllerConfiguration
ConfigurationProperties implementation of AlexaControllerConfiguration.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PREFIX
- See Also:
-
DEFAULT_PATH
- See Also:
-
-
Constructor Details
-
AlexaControllerConfigurationProperties
public AlexaControllerConfigurationProperties()
-
-
Method Details
-
getPath
- Specified by:
getPathin interfaceAlexaControllerConfiguration- Returns:
- The path for the alexa endpoint
-
setPath
Default value ("/alexa").- Parameters:
path- The path to alexa endpoint.
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceio.micronaut.core.util.Toggleable
-
setEnabled
public void setEnabled(boolean enabled) Sets whether this configuration is enabled. Default true.- Parameters:
enabled- The enabled setting
-