@Introspected @EachProperty(value="alexa.skills") public class AlexaSkillConfigurationProperties extends java.lang.Object implements AlexaSkillConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFIX |
static java.lang.String |
SKILLS_PREFIX |
Constructor and Description |
---|
AlexaSkillConfigurationProperties(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
getSkillId()
The Skill ID of this Alexa skill.
|
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Sets whether this configuration is enabled.
|
void |
setSkillId(java.lang.String skillId)
The Skill ID of this Alexa skill.
|
public static final java.lang.String PREFIX
public static final java.lang.String SKILLS_PREFIX
public AlexaSkillConfigurationProperties(@Parameter java.lang.String name)
name
- The name of the configuration@Nonnull public java.lang.String getName()
getName
in interface io.micronaut.core.naming.Named
public boolean isEnabled()
isEnabled
in interface io.micronaut.core.util.Toggleable
public void setEnabled(boolean enabled)
enabled
- The enabled setting@NonNull public java.lang.String getSkillId()
getSkillId
in interface AlexaSkillConfiguration
public void setSkillId(@NonNull java.lang.String skillId)
skillId
- skill id