Class AlexaChannelProperties


  • public final class AlexaChannelProperties
    extends Object
    The parameters to provide for the Alexa channel.
    • Constructor Detail

      • AlexaChannelProperties

        public AlexaChannelProperties()
    • Method Detail

      • alexaSkillId

        public String alexaSkillId()
        Get the alexaSkillId property: The Alexa skill Id.
        Returns:
        the alexaSkillId value.
      • withAlexaSkillId

        public AlexaChannelProperties withAlexaSkillId​(String alexaSkillId)
        Set the alexaSkillId property: The Alexa skill Id.
        Parameters:
        alexaSkillId - the alexaSkillId value to set.
        Returns:
        the AlexaChannelProperties object itself.
      • urlFragment

        public String urlFragment()
        Get the urlFragment property: Url fragment used in part of the Uri configured in Alexa.
        Returns:
        the urlFragment value.
      • serviceEndpointUri

        public String serviceEndpointUri()
        Get the serviceEndpointUri property: Full Uri used to configured the skill in Alexa.
        Returns:
        the serviceEndpointUri value.
      • isEnabled

        public boolean isEnabled()
        Get the isEnabled property: Whether this channel is enabled for the bot.
        Returns:
        the isEnabled value.
      • withIsEnabled

        public AlexaChannelProperties withIsEnabled​(boolean isEnabled)
        Set the isEnabled property: Whether this channel is enabled for the bot.
        Parameters:
        isEnabled - the isEnabled value to set.
        Returns:
        the AlexaChannelProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.