Class AlexaSkillConfigurationProperties

java.lang.Object
io.micronaut.aws.alexa.conf.AlexaSkillConfigurationProperties
All Implemented Interfaces:
AlexaSkillConfiguration, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, io.micronaut.core.util.Toggleable

@Introspected @EachProperty("alexa.skills") public class AlexaSkillConfigurationProperties extends Object implements AlexaSkillConfiguration
This allows configuring properties that area AWS Alexa specific such as skill-id for skill verification.
Since:
2.0.0
Author:
sdelamo
  • Field Details

  • Constructor Details

    • AlexaSkillConfigurationProperties

      public AlexaSkillConfigurationProperties(@Parameter String name)
      Parameters:
      name - The name of the configuration
  • Method Details

    • getName

      @NonNull public @NonNull String getName()
      Specified by:
      getName in interface io.micronaut.core.naming.Named
      Returns:
      The name of the configuration
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface io.micronaut.core.util.Toggleable
    • setEnabled

      public void setEnabled(boolean enabled)
      Sets whether this configuration is enabled. Default true.
      Parameters:
      enabled - The enabled setting
    • getSkillId

      @NonNull public @NonNull String getSkillId()
      The Skill ID of this Alexa skill.
      Specified by:
      getSkillId in interface AlexaSkillConfiguration
      Returns:
      skill id
    • setSkillId

      public void setSkillId(@NonNull @NonNull String skillId)
      The Skill ID of this Alexa skill.
      Parameters:
      skillId - skill id