Class ChannelSettings
java.lang.Object
com.azure.resourcemanager.botservice.models.ChannelSettings
Channel settings definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the botIconUrl property: The bot icon url.botId()
Get the botId property: The bot id.Get the channelDisplayName property: The channel display name.Get the channelId property: The channel id.Get the disableLocalAuth property: Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.Get the extensionKey1 property: The extensionKey1.Get the extensionKey2 property: The extensionKey2.Get the isEnabled property: Whether this channel is enabled for the bot.sites()
Get the sites property: The list of sites.void
validate()
Validates the instance.withBotIconUrl
(String botIconUrl) Set the botIconUrl property: The bot icon url.Set the botId property: The bot id.withChannelDisplayName
(String channelDisplayName) Set the channelDisplayName property: The channel display name.withChannelId
(String channelId) Set the channelId property: The channel id.withDisableLocalAuth
(Boolean disableLocalAuth) Set the disableLocalAuth property: Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.withExtensionKey1
(String extensionKey1) Set the extensionKey1 property: The extensionKey1.withExtensionKey2
(String extensionKey2) Set the extensionKey2 property: The extensionKey2.withIsEnabled
(Boolean isEnabled) Set the isEnabled property: Whether this channel is enabled for the bot.Set the sites property: The list of sites.
-
Constructor Details
-
ChannelSettings
public ChannelSettings()
-
-
Method Details
-
extensionKey1
Get the extensionKey1 property: The extensionKey1.- Returns:
- the extensionKey1 value.
-
withExtensionKey1
Set the extensionKey1 property: The extensionKey1.- Parameters:
extensionKey1
- the extensionKey1 value to set.- Returns:
- the ChannelSettings object itself.
-
extensionKey2
Get the extensionKey2 property: The extensionKey2.- Returns:
- the extensionKey2 value.
-
withExtensionKey2
Set the extensionKey2 property: The extensionKey2.- Parameters:
extensionKey2
- the extensionKey2 value to set.- Returns:
- the ChannelSettings object itself.
-
sites
Get the sites property: The list of sites.- Returns:
- the sites value.
-
withSites
Set the sites property: The list of sites.- Parameters:
sites
- the sites value to set.- Returns:
- the ChannelSettings object itself.
-
channelId
Get the channelId property: The channel id.- Returns:
- the channelId value.
-
withChannelId
Set the channelId property: The channel id.- Parameters:
channelId
- the channelId value to set.- Returns:
- the ChannelSettings object itself.
-
channelDisplayName
Get the channelDisplayName property: The channel display name.- Returns:
- the channelDisplayName value.
-
withChannelDisplayName
Set the channelDisplayName property: The channel display name.- Parameters:
channelDisplayName
- the channelDisplayName value to set.- Returns:
- the ChannelSettings object itself.
-
botId
Get the botId property: The bot id.- Returns:
- the botId value.
-
withBotId
Set the botId property: The bot id.- Parameters:
botId
- the botId value to set.- Returns:
- the ChannelSettings object itself.
-
botIconUrl
Get the botIconUrl property: The bot icon url.- Returns:
- the botIconUrl value.
-
withBotIconUrl
Set the botIconUrl property: The bot icon url.- Parameters:
botIconUrl
- the botIconUrl value to set.- Returns:
- the ChannelSettings object itself.
-
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 ChannelSettings object itself.
-
disableLocalAuth
Get the disableLocalAuth property: Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.- Returns:
- the disableLocalAuth value.
-
withDisableLocalAuth
Set the disableLocalAuth property: Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.- Parameters:
disableLocalAuth
- the disableLocalAuth value to set.- Returns:
- the ChannelSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-