Class SiteInfo


  • public final class SiteInfo
    extends Object
    Site information for WebChat or DirectLine Channels to identify which site to regenerate keys for.
    • Constructor Detail

      • SiteInfo

        public SiteInfo()
    • Method Detail

      • siteName

        public String siteName()
        Get the siteName property: The site name.
        Returns:
        the siteName value.
      • withSiteName

        public SiteInfo withSiteName​(String siteName)
        Set the siteName property: The site name.
        Parameters:
        siteName - the siteName value to set.
        Returns:
        the SiteInfo object itself.
      • key

        public Key key()
        Get the key property: Determines which key is to be regenerated.
        Returns:
        the key value.
      • withKey

        public SiteInfo withKey​(Key key)
        Set the key property: Determines which key is to be regenerated.
        Parameters:
        key - the key value to set.
        Returns:
        the SiteInfo object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.