@Singleton public class DefaultAlexaSkillBuilder extends java.lang.Object implements AlexaSkillBuilder<com.amazon.ask.model.RequestEnvelope,com.amazon.ask.model.ResponseEnvelope>
AlexaSkill
by adding request and exception handlers ((RequestHandler
, ExceptionHandler
beans) and interceptor beans (RequestInterceptor
and ResponseInterceptor
).Constructor and Description |
---|
DefaultAlexaSkillBuilder(java.util.Collection<AlexaSkillConfiguration> alexaSkillConfigurations,
io.micronaut.context.ApplicationContext applicationContext) |
Modifier and Type | Method and Description |
---|---|
com.amazon.ask.AlexaSkill<com.amazon.ask.model.RequestEnvelope,com.amazon.ask.model.ResponseEnvelope> |
buildSkill(@NotNull com.amazon.ask.builder.SkillBuilder<?> skillBuilder,
AlexaSkillConfiguration alexaSkillConfiguration) |
public DefaultAlexaSkillBuilder(java.util.Collection<AlexaSkillConfiguration> alexaSkillConfigurations, io.micronaut.context.ApplicationContext applicationContext)
alexaSkillConfigurations
- Alexa Skill ConfigurationsapplicationContext
- ApplicationContext@NonNull public com.amazon.ask.AlexaSkill<com.amazon.ask.model.RequestEnvelope,com.amazon.ask.model.ResponseEnvelope> buildSkill(@NonNull @NotNull @NotNull com.amazon.ask.builder.SkillBuilder<?> skillBuilder, @Nullable AlexaSkillConfiguration alexaSkillConfiguration)
buildSkill
in interface AlexaSkillBuilder<com.amazon.ask.model.RequestEnvelope,com.amazon.ask.model.ResponseEnvelope>
skillBuilder
- A Skill builderalexaSkillConfiguration
- Alexa Skill Configuration