Class LinkNotificationHubParameters

java.lang.Object
com.azure.resourcemanager.communication.models.LinkNotificationHubParameters

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

    • LinkNotificationHubParameters

      public LinkNotificationHubParameters()
  • Method Details

    • 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.