Class AlexaChannelProperties
- java.lang.Object
-
- com.azure.resourcemanager.botservice.models.AlexaChannelProperties
-
public final class AlexaChannelProperties extends Object
The parameters to provide for the Alexa channel.
-
-
Constructor Summary
Constructors Constructor Description AlexaChannelProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
alexaSkillId()
Get the alexaSkillId property: The Alexa skill Id.boolean
isEnabled()
Get the isEnabled property: Whether this channel is enabled for the bot.String
serviceEndpointUri()
Get the serviceEndpointUri property: Full Uri used to configured the skill in Alexa.String
urlFragment()
Get the urlFragment property: Url fragment used in part of the Uri configured in Alexa.void
validate()
Validates the instance.AlexaChannelProperties
withAlexaSkillId(String alexaSkillId)
Set the alexaSkillId property: The Alexa skill Id.AlexaChannelProperties
withIsEnabled(boolean isEnabled)
Set the isEnabled property: Whether this channel is enabled for the bot.
-
-
-
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.
-
-