Class AlexaChannelProperties
java.lang.Object
com.azure.resourcemanager.botservice.models.AlexaChannelProperties
The parameters to provide for the Alexa channel.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the alexaSkillId property: The Alexa skill Id.boolean
Get the isEnabled property: Whether this channel is enabled for the bot.Get the serviceEndpointUri property: Full Uri used to configured the skill in Alexa.Get the urlFragment property: Url fragment used in part of the Uri configured in Alexa.void
validate()
Validates the instance.withAlexaSkillId
(String alexaSkillId) Set the alexaSkillId property: The Alexa skill Id.withIsEnabled
(boolean isEnabled) Set the isEnabled property: Whether this channel is enabled for the bot.
-
Constructor Details
-
AlexaChannelProperties
public AlexaChannelProperties()
-
-
Method Details
-
alexaSkillId
Get the alexaSkillId property: The Alexa skill Id.- Returns:
- the alexaSkillId value.
-
withAlexaSkillId
Set the alexaSkillId property: The Alexa skill Id.- Parameters:
alexaSkillId
- the alexaSkillId value to set.- Returns:
- the AlexaChannelProperties object itself.
-
urlFragment
Get the urlFragment property: Url fragment used in part of the Uri configured in Alexa.- Returns:
- the urlFragment value.
-
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
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.
-