AlexaChannelProperties Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. AlexaChannelProperties
- com.
Implements
public final class AlexaChannelProperties
implements JsonSerializable<AlexaChannelProperties>
The parameters to provide for the Alexa channel.
Constructor Summary
| Constructor | Description |
|---|---|
| AlexaChannelProperties() |
Creates an instance of Alexa |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
alexaSkillId()
Get the alexa |
|
static
Alexa |
fromJson(JsonReader jsonReader)
Reads an instance of Alexa |
| boolean |
isEnabled()
Get the is |
| String |
serviceEndpointUri()
Get the service |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
urlFragment()
Get the url |
| void |
validate()
Validates the instance. |
|
Alexa |
withAlexaSkillId(String alexaSkillId)
Set the alexa |
|
Alexa |
withIsEnabled(boolean isEnabled)
Set the is |
Methods inherited from java.lang.Object
Constructor Details
AlexaChannelProperties
public AlexaChannelProperties()
Creates an instance of AlexaChannelProperties class.
Method Details
alexaSkillId
public String alexaSkillId()
Get the alexaSkillId property: The Alexa skill Id.
Returns:
fromJson
public static AlexaChannelProperties fromJson(JsonReader jsonReader)
Reads an instance of AlexaChannelProperties from the JsonReader.
Parameters:
Returns:
Throws:
isEnabled
public boolean isEnabled()
Get the isEnabled property: Whether this channel is enabled for the bot.
Returns:
serviceEndpointUri
public String serviceEndpointUri()
Get the serviceEndpointUri property: Full Uri used to configured the skill in Alexa.
Returns:
toJson
urlFragment
public String urlFragment()
Get the urlFragment property: Url fragment used in part of the Uri configured in Alexa.
Returns:
validate
public void validate()
Validates the instance.
withAlexaSkillId
public AlexaChannelProperties withAlexaSkillId(String alexaSkillId)
Set the alexaSkillId property: The Alexa skill Id.
Parameters:
Returns:
withIsEnabled
public AlexaChannelProperties withIsEnabled(boolean isEnabled)
Set the isEnabled property: Whether this channel is enabled for the bot.
Parameters:
Returns: