Class LinkNotificationHubParameters
java.lang.Object
com.azure.resourcemanager.communication.models.LinkNotificationHubParameters
Description of an Azure Notification Hub to link to the communication service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the connectionString property: Connection string for the notification hub.Get the resourceId property: The resource ID of the notification hub.void
validate()
Validates the instance.withConnectionString
(String connectionString) Set the connectionString property: Connection string for the notification hub.withResourceId
(String resourceId) Set the resourceId property: The resource ID of the notification hub.
-
Constructor Details
-
LinkNotificationHubParameters
public LinkNotificationHubParameters()
-
-
Method Details
-
resourceId
Get the resourceId property: The resource ID of the notification hub.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: The resource ID of the notification hub.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the LinkNotificationHubParameters object itself.
-
connectionString
Get the connectionString property: Connection string for the notification hub.- Returns:
- the connectionString value.
-
withConnectionString
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.
-