Class ChannelSettings


  • public final class ChannelSettings
    extends Object
    Channel settings definition.
    • Constructor Detail

      • ChannelSettings

        public ChannelSettings()
    • Method Detail

      • extensionKey1

        public String extensionKey1()
        Get the extensionKey1 property: The extensionKey1.
        Returns:
        the extensionKey1 value.
      • withExtensionKey1

        public ChannelSettings withExtensionKey1​(String extensionKey1)
        Set the extensionKey1 property: The extensionKey1.
        Parameters:
        extensionKey1 - the extensionKey1 value to set.
        Returns:
        the ChannelSettings object itself.
      • extensionKey2

        public String extensionKey2()
        Get the extensionKey2 property: The extensionKey2.
        Returns:
        the extensionKey2 value.
      • withExtensionKey2

        public ChannelSettings withExtensionKey2​(String extensionKey2)
        Set the extensionKey2 property: The extensionKey2.
        Parameters:
        extensionKey2 - the extensionKey2 value to set.
        Returns:
        the ChannelSettings object itself.
      • sites

        public List<Site> sites()
        Get the sites property: The list of sites.
        Returns:
        the sites value.
      • withSites

        public ChannelSettings withSites​(List<Site> sites)
        Set the sites property: The list of sites.
        Parameters:
        sites - the sites value to set.
        Returns:
        the ChannelSettings object itself.
      • channelId

        public String channelId()
        Get the channelId property: The channel id.
        Returns:
        the channelId value.
      • withChannelId

        public ChannelSettings withChannelId​(String channelId)
        Set the channelId property: The channel id.
        Parameters:
        channelId - the channelId value to set.
        Returns:
        the ChannelSettings object itself.
      • channelDisplayName

        public String channelDisplayName()
        Get the channelDisplayName property: The channel display name.
        Returns:
        the channelDisplayName value.
      • withChannelDisplayName

        public ChannelSettings withChannelDisplayName​(String channelDisplayName)
        Set the channelDisplayName property: The channel display name.
        Parameters:
        channelDisplayName - the channelDisplayName value to set.
        Returns:
        the ChannelSettings object itself.
      • botId

        public String botId()
        Get the botId property: The bot id.
        Returns:
        the botId value.
      • withBotId

        public ChannelSettings withBotId​(String botId)
        Set the botId property: The bot id.
        Parameters:
        botId - the botId value to set.
        Returns:
        the ChannelSettings object itself.
      • botIconUrl

        public String botIconUrl()
        Get the botIconUrl property: The bot icon url.
        Returns:
        the botIconUrl value.
      • withBotIconUrl

        public ChannelSettings withBotIconUrl​(String botIconUrl)
        Set the botIconUrl property: The bot icon url.
        Parameters:
        botIconUrl - the botIconUrl value to set.
        Returns:
        the ChannelSettings object itself.
      • isEnabled

        public Boolean isEnabled()
        Get the isEnabled property: Whether this channel is enabled for the bot.
        Returns:
        the isEnabled value.
      • withIsEnabled

        public ChannelSettings withIsEnabled​(Boolean isEnabled)
        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

        public Boolean 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

        public ChannelSettings withDisableLocalAuth​(Boolean disableLocalAuth)
        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.