Class LinkNotificationHubParameters


  • public final class LinkNotificationHubParameters
    extends Object
    Description of an Azure Notification Hub to link to the communication service.
    • Constructor Detail

      • LinkNotificationHubParameters

        public LinkNotificationHubParameters()
    • Method Detail

      • resourceId

        public String resourceId()
        Get the resourceId property: The resource ID of the notification hub.
        Returns:
        the resourceId value.
      • withResourceId

        public LinkNotificationHubParameters withResourceId​(String resourceId)
        Set the resourceId property: The resource ID of the notification hub.
        Parameters:
        resourceId - the resourceId value to set.
        Returns:
        the LinkNotificationHubParameters object itself.
      • connectionString

        public String connectionString()
        Get the connectionString property: Connection string for the notification hub.
        Returns:
        the connectionString value.
      • withConnectionString

        public LinkNotificationHubParameters withConnectionString​(String connectionString)
        Set the connectionString property: Connection string for the notification hub.
        Parameters:
        connectionString - the connectionString value to set.
        Returns:
        the LinkNotificationHubParameters object itself.
      • validate

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